mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
mshtml: Remove superflous check (Coverity).
This commit is contained in:
parent
7c9d35e575
commit
b810fad34c
1 changed files with 1 additions and 1 deletions
|
@ -2772,7 +2772,7 @@ HRESULT update_window_doc(HTMLInnerWindow *window)
|
||||||
outer_window->base.inner_window = window;
|
outer_window->base.inner_window = window;
|
||||||
outer_window->pending_window = NULL;
|
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)
|
if(outer_window->doc_obj->basedoc.doc_node)
|
||||||
htmldoc_release(&outer_window->doc_obj->basedoc.doc_node->basedoc);
|
htmldoc_release(&outer_window->doc_obj->basedoc.doc_node->basedoc);
|
||||||
outer_window->doc_obj->basedoc.doc_node = window->doc;
|
outer_window->doc_obj->basedoc.doc_node = window->doc;
|
||||||
|
|
Loading…
Reference in a new issue