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

Austin English austinenglish at gmail.com
Wed Feb 9 15:43:51 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 07476bc..b883f8b 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -984,6 +984,7 @@ static HRESULT WINAPI iframe_onreadystatechange(IDispatchEx *iface, DISPID id, L
     ok(hres == S_OK, "get_document failed: %08x\n", hres);
 
     hres = IHTMLDocument2_get_readyState(iframe_doc, &str2);
+    ok(hres == S_OK, "get_document failed: %08x\n", hres);
     ok(!lstrcmpW(str, str2), "unexpected document readyState %s\n", wine_dbgstr_w(str2));
     SysFreeString(str2);
 


More information about the wine-patches mailing list