msxml3: Remove redundant "not NULL" check of the punk arg.
This commit is contained in:
parent
63512e8e98
commit
49c5494ff8
|
@ -2177,8 +2177,7 @@ xmldoc_SetSite( IObjectWithSite *iface, IUnknown *punk )
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
if ( punk )
|
||||
IUnknown_AddRef( punk );
|
||||
IUnknown_AddRef( punk );
|
||||
|
||||
if(This->site)
|
||||
IUnknown_Release( This->site );
|
||||
|
|
Loading…
Reference in New Issue