kernel32/tests: Ensure auto_value.data is initialized in test_ExitCode (Coverity).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b3166ff31e
commit
b7223aff36
|
@ -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"))
|
||||||
|
|
Loading…
Reference in New Issue