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

Austin English austinenglish at gmail.com
Mon Feb 7 16:58:03 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/mshtml/tests/activex.c b/dlls/mshtml/tests/activex.c
index bf3e2e9a..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-patches mailing list