[PATCH 6/6] user32/tests: Add missing return value check to msg tests (Coverity)
Alex Henrie
alexhenrie24 at gmail.com
Sun Jan 7 23:05:20 CST 2018
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
dlls/user32/tests/msg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 1ccf0d4a36..52384b526c 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -13104,7 +13104,8 @@ static void test_dialog_messages(void)
SetFocus(child);
flush_sequence();
- DialogBoxA( 0, "TEST_DIALOG", child2, TestModalDlgProc2 );
+ ret = DialogBoxA( 0, "TEST_DIALOG", child2, TestModalDlgProc2 );
+ ok (ret != 0, "DialogBox error %u\n", GetLastError());
ok_sequence(WmModalDialogSeq_2, "ModalDialog2", TRUE);
DestroyWindow(child2);
--
2.15.1
More information about the wine-devel
mailing list