mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:27:18 +00:00
kernel32: When testing the debugger activation, don't use unitialized values (clang).
This commit is contained in:
parent
b10977fc3c
commit
1980545055
|
@ -450,6 +450,7 @@ static void test_ExitCode(void)
|
||||||
ok(0, "could not open the AeDebug key: %d\n", ret);
|
ok(0, "could not open the AeDebug key: %d\n", ret);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else debugger_value.data = NULL;
|
||||||
|
|
||||||
if (debugger_value.data && debugger_value.type == REG_SZ &&
|
if (debugger_value.data && debugger_value.type == REG_SZ &&
|
||||||
strstr((char*)debugger_value.data, "winedbg --auto"))
|
strstr((char*)debugger_value.data, "winedbg --auto"))
|
||||||
|
|
Loading…
Reference in a new issue