From 70b8a2f86b8e270841bea8390f2063445b5c8b08 Mon Sep 17 00:00:00 2001 From: Andrey Gusev Date: Fri, 13 Oct 2017 15:38:27 +0300 Subject: [PATCH] user32/tests: Remove redundant comparison. Signed-off-by: Andrey Gusev Signed-off-by: Alexandre Julliard --- 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 94e98af0596..8f2576d1923 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;