Nikolay Sivov : comctl32/tests: Avoid testing uninitialized value ( Valgrind).
Alexandre Julliard
julliard at winehq.org
Mon Jun 16 12:37:48 CDT 2014
Module: wine
Branch: master
Commit: 055129485d022976caeacbdf4e98f982c88e9d07
URL: http://source.winehq.org/git/wine.git/?a=commit;h=055129485d022976caeacbdf4e98f982c88e9d07
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Jun 13 18:31:28 2014 +0400
comctl32/tests: Avoid testing uninitialized value (Valgrind).
---
dlls/comctl32/tests/button.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/button.c b/dlls/comctl32/tests/button.c
index 96fb766..ecb438e 100644
--- a/dlls/comctl32/tests/button.c
+++ b/dlls/comctl32/tests/button.c
@@ -743,10 +743,10 @@ todo_wine
ok(lstrcmpW(nameW, WC_BUTTONW), "got %s\n", wine_dbgstr_w(nameW));
ret = GetClassInfoExW(NULL, nameW, &ex2W);
-todo_wine {
+todo_wine
ok(ret, "got %d\n", ret);
+if (ret) /* TODO: remove once Wine is fixed */
ok(ex2W.lpfnWndProc == exW.lpfnWndProc, "got %p, %p\n", exW.lpfnWndProc, ex2W.lpfnWndProc);
-}
/* Check reported class name */
hwnd = create_button(BS_CHECKBOX, NULL);
More information about the wine-cvs
mailing list