Commit b5e17b66 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3/tests: Add missing return value check (Coverity).

parent b68b08b5
......@@ -7468,6 +7468,7 @@ static void test_XSLPattern(void)
ok(hr == S_OK, "query=%s, failed with 0x%08x\n", ptr->query, hr);
len = 0;
hr = IXMLDOMNodeList_get_length(list, &len);
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
ok(len != 0, "query=%s, empty list\n", ptr->query);
if (len) {
if (ptr->todo) {
......
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