Commit 19805450 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

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

parent b10977fc
...@@ -450,6 +450,7 @@ static void test_ExitCode(void) ...@@ -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"))
......
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