Sync to trunk head (r47736)
[reactos.git] / dll / win32 / msxml3 / domdoc.c
index aae8a34..d72d20b 100644 (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 );