Commit 9ed15fbf authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ntdll: Avoid shadowing "p" variable.

parent cfd5bfa8
......@@ -119,15 +119,15 @@ static const WCHAR **build_list( const WCHAR *buffer )
(count+1) * sizeof(WCHAR*) + (strlenW(buffer)+1) * sizeof(WCHAR) )))
{
WCHAR *str = (WCHAR *)(ret + count + 1);
WCHAR *p = str;
WCHAR *q = str;
strcpyW( str, buffer );
count = 0;
for (;;)
{
ret[count++] = p;
if (!(p = strchrW( p, ';' ))) break;
*p++ = 0;
ret[count++] = q;
if (!(q = strchrW( q, ';' ))) break;
*q++ = 0;
}
ret[count++] = 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