kernel32: When testing the debugger activation, don't use unitialized values (clang).

This commit is contained in:
Eric Pouech 2011-03-26 12:16:58 +01:00 committed by Alexandre Julliard
parent b10977fc3c
commit 1980545055
1 changed files with 1 additions and 0 deletions

View File

@ -450,6 +450,7 @@ static void test_ExitCode(void)
ok(0, "could not open the AeDebug key: %d\n", ret);
return;
}
else debugger_value.data = NULL;
if (debugger_value.data && debugger_value.type == REG_SZ &&
strstr((char*)debugger_value.data, "winedbg --auto"))