[PATCH] mshtml/tests: Add missing return value test (PVS-Studio)

Nikolay Sivov nsivov at codeweavers.com
Tue Oct 27 14:52:30 CDT 2015


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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);
-- 
2.6.1




More information about the wine-patches mailing list