Austin English : oleaut32/tests: Make sure a return value is used (LLVM/ Clang).

Alexandre Julliard julliard at winehq.org
Tue Feb 15 11:29:27 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 16:44:39 2011 -0800

oleaut32/tests: Make sure a return value is used (LLVM/Clang).

---

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

diff --git a/dlls/oleaut32/tests/tmarshal.c b/dlls/oleaut32/tests/tmarshal.c
index 42db771..c64c68a 100644
--- a/dlls/oleaut32/tests/tmarshal.c
+++ b/dlls/oleaut32/tests/tmarshal.c
@@ -1001,6 +1001,7 @@ static void test_typelibmarshal(void)
     IKindaEnumWidget_Release(pKEW);
 
     hr = IWidget_QueryInterface(pWidget, &IID_IDispatch, (void **)&pDispatch);
+    ok_ole_success(hr, IWidget_QueryInterface);
 
     /* call put_Name */
     VariantInit(&vararg[0]);




More information about the wine-cvs mailing list