Austin English : mshtml/tests: Make sure return values are used (LLVM/Clang ).
Alexandre Julliard
julliard at winehq.org
Wed Feb 9 15:30:14 CST 2011
Module: wine
Branch: master
Commit: 78470d705678cb5038b8506862d7f66d5d576871
URL: http://source.winehq.org/git/wine.git/?a=commit;h=78470d705678cb5038b8506862d7f66d5d576871
Author: Austin English <austinenglish at gmail.com>
Date: Tue Feb 8 16:06:18 2011 -0800
mshtml/tests: Make sure return values are used (LLVM/Clang).
---
dlls/mshtml/tests/dom.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 062507e..031ecc7 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -3150,6 +3150,7 @@ static void test_elem_bounding_client_rect(IUnknown *unk)
elem2 = get_elem2_iface(unk);
hres = IHTMLElement2_getBoundingClientRect(elem2, &rect);
+ ok(hres == S_OK, "getBoundingClientRect failed: %08x\n", hres);
hres = IHTMLElement2_getBoundingClientRect(elem2, &rect2);
IHTMLElement2_Release(elem2);
ok(hres == S_OK, "getBoundingClientRect failed: %08x\n", hres);
@@ -3441,6 +3442,7 @@ static IHTMLTxtRange *test_create_body_range(IHTMLDocument2 *doc)
elem = doc_get_body(doc);
hres = IHTMLElement_QueryInterface(elem, &IID_IHTMLBodyElement, (void**)&body);
+ ok(hres == S_OK, "QueryInterface failed: %08x\n", hres);
IHTMLElement_Release(elem);
hres = IHTMLBodyElement_createTextRange(body, &range);
More information about the wine-cvs
mailing list