Commit b7223aff authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

kernel32/tests: Ensure auto_value.data is initialized in test_ExitCode (Coverity).

parent b3166ff3
...@@ -752,7 +752,11 @@ static void test_ExitCode(void) ...@@ -752,7 +752,11 @@ 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; else
{
auto_value.data = NULL;
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