Commit 78470d70 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

mshtml/tests: Make sure return values are used (LLVM/Clang).

parent b667582a
...@@ -3150,6 +3150,7 @@ static void test_elem_bounding_client_rect(IUnknown *unk) ...@@ -3150,6 +3150,7 @@ static void test_elem_bounding_client_rect(IUnknown *unk)
elem2 = get_elem2_iface(unk); elem2 = get_elem2_iface(unk);
hres = IHTMLElement2_getBoundingClientRect(elem2, &rect); hres = IHTMLElement2_getBoundingClientRect(elem2, &rect);
ok(hres == S_OK, "getBoundingClientRect failed: %08x\n", hres);
hres = IHTMLElement2_getBoundingClientRect(elem2, &rect2); hres = IHTMLElement2_getBoundingClientRect(elem2, &rect2);
IHTMLElement2_Release(elem2); IHTMLElement2_Release(elem2);
ok(hres == S_OK, "getBoundingClientRect failed: %08x\n", hres); ok(hres == S_OK, "getBoundingClientRect failed: %08x\n", hres);
...@@ -3441,6 +3442,7 @@ static IHTMLTxtRange *test_create_body_range(IHTMLDocument2 *doc) ...@@ -3441,6 +3442,7 @@ static IHTMLTxtRange *test_create_body_range(IHTMLDocument2 *doc)
elem = doc_get_body(doc); elem = doc_get_body(doc);
hres = IHTMLElement_QueryInterface(elem, &IID_IHTMLBodyElement, (void**)&body); hres = IHTMLElement_QueryInterface(elem, &IID_IHTMLBodyElement, (void**)&body);
ok(hres == S_OK, "QueryInterface failed: %08x\n", hres);
IHTMLElement_Release(elem); IHTMLElement_Release(elem);
hres = IHTMLBodyElement_createTextRange(body, &range); hres = IHTMLBodyElement_createTextRange(body, &range);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment