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

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-09-14 23:19:00 +03:00 committed by Alexandre Julliard
parent b68b08b5de
commit b5e17b669a

View file

@ -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) {