Nikolay Sivov : mshtml/tests: Add missing return value test (PVS-Studio).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 28 10:16:14 CDT 2015


Module: wine
Branch: master
Commit: 33809d2bccca635b37fb67751e4b39cdc08fbed1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=33809d2bccca635b37fb67751e4b39cdc08fbed1

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Oct 27 22:52:30 2015 +0300

mshtml/tests: Add missing return value test (PVS-Studio).

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

---

 dlls/mshtml/tests/dom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 61d5de9..896e6ad 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -5627,6 +5627,7 @@ static void test_plugins_col(IHTMLDocument2 *doc)
 
     window = get_doc_window(doc);
     hres = IHTMLWindow2_get_navigator(window, &nav);
+    ok(hres == S_OK, "get_navigator failed: %08x\n", hres);
     IHTMLWindow2_Release(window);
 
     hres = IOmNavigator_get_plugins(nav, &col);




More information about the wine-cvs mailing list