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

Alexandre Julliard julliard at winehq.org
Tue Feb 8 17:23:47 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Feb  7 14:58:03 2011 -0800

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

---

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

diff --git a/dlls/mshtml/tests/activex.c b/dlls/mshtml/tests/activex.c
index bf3e2e9..241342b 100644
--- a/dlls/mshtml/tests/activex.c
+++ b/dlls/mshtml/tests/activex.c
@@ -1281,6 +1281,7 @@ static void test_object_elem(IHTMLDocument2 *doc)
     CHECK_CALLED(Invoke_SECURITYCTX);
 
     hres = IHTMLObjectElement_QueryInterface(objelem, &IID_IDispatchEx, (void**)&dispex);
+    ok(hres == S_OK, "QueryInterface failed: %08x\n", hres);
     test_elem_dispex(dispex);
     IDispatchEx_Release(dispex);
 




More information about the wine-cvs mailing list