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

Alexandre Julliard julliard at winehq.org
Thu Feb 10 11:42:09 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb  9 13:43:51 2011 -0800

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

---

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

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-cvs mailing list