Andrey Gusev : user32/tests: Remove redundant comparison.
Alexandre Julliard
julliard at winehq.org
Fri Oct 13 18:44:15 CDT 2017
Module: wine
Branch: master
Commit: 70b8a2f86b8e270841bea8390f2063445b5c8b08
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70b8a2f86b8e270841bea8390f2063445b5c8b08
Author: Andrey Gusev <andrey.goosev at gmail.com>
Date: Fri Oct 13 15:38:27 2017 +0300
user32/tests: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/tests/input.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index 94e98af..8f2576d 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -933,8 +933,7 @@ static void test_Input_blackbox(void)
empty_message_queue();
prevWndProc = SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR) WndProc2);
- ok(prevWndProc != 0 || (prevWndProc == 0 && GetLastError() == 0),
- "error: %d\n", (int) GetLastError());
+ ok(prevWndProc != 0 || GetLastError() == 0, "error: %d\n", (int) GetLastError());
i.type = INPUT_KEYBOARD;
i.u.ki.time = 0;
More information about the wine-cvs
mailing list