Commit b810fad3 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

mshtml: Remove superflous check (Coverity).

parent 7c9d35e5
......@@ -2772,7 +2772,7 @@ HRESULT update_window_doc(HTMLInnerWindow *window)
outer_window->base.inner_window = window;
outer_window->pending_window = NULL;
if(outer_window->doc_obj && (outer_window->doc_obj->basedoc.window == outer_window || !outer_window->doc_obj->basedoc.window)) {
if(outer_window->doc_obj->basedoc.window == outer_window || !outer_window->doc_obj->basedoc.window) {
if(outer_window->doc_obj->basedoc.doc_node)
htmldoc_release(&outer_window->doc_obj->basedoc.doc_node->basedoc);
outer_window->doc_obj->basedoc.doc_node = window->doc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment