Eric Pouech : kernel32: When testing the debugger activation, don' t use unitialized values (clang).
Alexandre Julliard
julliard at winehq.org
Mon Mar 28 14:21:59 CDT 2011
Module: wine
Branch: master
Commit: 198054505592a40ee8d92e816a36023e90d3b5bc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=198054505592a40ee8d92e816a36023e90d3b5bc
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Mar 26 12:16:58 2011 +0100
kernel32: When testing the debugger activation, don't use unitialized values (clang).
---
dlls/kernel32/tests/debugger.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/debugger.c b/dlls/kernel32/tests/debugger.c
index 92e4c43..7f7b052 100644
--- a/dlls/kernel32/tests/debugger.c
+++ b/dlls/kernel32/tests/debugger.c
@@ -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"))
More information about the wine-cvs
mailing list