[PATCH 2/2] mshtml/tests: Remove null check after dereference (Coverity)
Nikolay Sivov
nsivov at codeweavers.com
Fri Jan 5 05:38:57 CST 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/mshtml/tests/events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 28aa93c289..41cc95318c 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -2578,7 +2578,7 @@ static IHTMLWindow2 *get_iframe_window(IHTMLIFrameElement *iframe)
ok(hres == S_OK, "get_contentWindow failed: %08x\n", hres);
ok(window != NULL, "window == NULL\n");
- if(base) IHTMLFrameBase2_Release(base);
+ IHTMLFrameBase2_Release(base);
return window;
}
--
2.15.1
More information about the wine-devel
mailing list