Marcus Meissner : msvcrt: Remove strange condition which might lead to crash.
Module: wine Branch: master Commit: a54150bc531aa5a3ea9828fdb194bf261d0ff0d1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a54150bc531aa5a3ea9828fdb1... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Thu Jan 10 09:49:47 2008 +0100 msvcrt: Remove strange condition which might lead to crash. --- dlls/msvcrt/process.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcrt/process.c b/dlls/msvcrt/process.c index ee044aa..87a29f4 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; @@ -233,7 +233,7 @@ static MSVCRT_wchar_t *msvcrt_argvtos_aw(const char * const *arg, MSVCRT_wchar_t unsigned long len; MSVCRT_wchar_t *p, *ret; - if (!arg && !delim) + if (!arg) { /* Return NULL for an empty environment list */ return NULL;
participants (1)
-
Alexandre Julliard