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

Alexandre Julliard julliard at winehq.org
Tue Dec 26 15:01:53 CST 2017


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat Dec 23 13:16:27 2017 +0300

msxml3/tests: Add missing return value test (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 9a607e3..87a885d 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -7467,6 +7467,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, "Failed to get list length, hr %#x.\n", hr);
             if (*ptr->list)
             {
                 ok(len != 0, "query=%s, empty list\n", ptr->query);




More information about the wine-cvs mailing list