Austin English : comctl32/tests: Make sure to use a return value (LLVM/ Clang).

Alexandre Julliard julliard at winehq.org
Fri Feb 18 10:50:16 CST 2011


Module: wine
Branch: master
Commit: 4803f921e699e9392e8db71509890de5c4466b0c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4803f921e699e9392e8db71509890de5c4466b0c

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 16 18:20:25 2011 -0800

comctl32/tests: Make sure to use a return value (LLVM/Clang).

---

 dlls/comctl32/tests/monthcal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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-cvs mailing list