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

Alexandre Julliard julliard at winehq.org
Tue Sep 14 16:00:14 CDT 2021


Module: wine
Branch: master
Commit: b5e17b669a90d961a93f6092ebc3736ff8ca9cd6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b5e17b669a90d961a93f6092ebc3736ff8ca9cd6

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Sep 14 23:19:00 2021 +0300

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

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msxml3/tests/domdoc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 063f9433a77..a0bcca2d4e9 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -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) {




More information about the wine-cvs mailing list