[PATCH] remove incorrect test

Marcus Meissner meissner at suse.de
Thu Jan 10 03:56:54 CST 2008


Coverity spotted this too. (CID184)

Ciao, Marcus
---
 dlls/msvcrt/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/process.c b/dlls/msvcrt/process.c
index ee044aa..79b6c40 100644
--- a/dlls/msvcrt/process.c
+++ b/dlls/msvcrt/process.c
@@ -189,7 +189,7 @@ static MSVCRT_wchar_t* msvcrt_argvtos(const MSVCRT_wchar_t* const* arg, MSVCRT_w
   MSVCRT_wchar_t* p;
   MSVCRT_wchar_t* ret;
 
-  if (!arg && !delim)
+  if (!arg)
   {
       /* Return NULL for an empty environment list */
       return NULL;
-- 
1.5.2.4



More information about the wine-patches mailing list