msxml3: Remove redundant "not NULL" check of the punk arg.

oldstable
Michael Stefaniuc 2010-05-20 01:15:22 +02:00 committed by Alexandre Julliard
parent 63512e8e98
commit 49c5494ff8
1 changed files with 1 additions and 2 deletions

View File

@ -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 );