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

Alexandre Julliard julliard at winehq.org
Tue Jul 26 11:37:55 CDT 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Jul 25 19:28:13 2011 -0700

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

---

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

diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c
index 87b2006..33e074c 100644
--- a/dlls/ole32/tests/marshal.c
+++ b/dlls/ole32/tests/marshal.c
@@ -1870,6 +1870,7 @@ static LRESULT CALLBACK window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
         /* note the use of the magic IID_IWineTest value to tell remote thread
          * to try to send a message back to us */
         hr = IClassFactory_CreateInstance(proxy, NULL, &IID_IWineTest, (void **)&object);
+        ok(hr == S_FALSE, "expected S_FALSE, got %d\n", hr);
 
         IClassFactory_Release(proxy);
 




More information about the wine-cvs mailing list