comctl32/tests: make sure to use a return value (LLVM/Clang) (3/6)

Austin English austinenglish at gmail.com
Wed Feb 16 20:20:25 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c
index 52e16c3..ae6c7b5 100644
--- a/dlls/comctl32/tests/monthcal.c
+++ b/dlls/comctl32/tests/monthcal.c
@@ -1143,6 +1143,7 @@ static void test_todaylink(void)
     hwnd = create_monthcal_control(0);
 
     res = SendMessage(hwnd, MCM_GETMINREQRECT, 0, (LPARAM)&r);
+    expect(1, res);
     MoveWindow(hwnd, 0, 0, r.right, r.bottom, FALSE);
 
     flush_sequences(sequences, NUM_MSG_SEQUENCES);


More information about the wine-patches mailing list