Commit a54150bc authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msvcrt: Remove strange condition which might lead to crash.

parent 038c3a26
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment