From 49c5494ff83ded3bc93f74182adbd49536f226c6 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 20 May 2010 01:15:22 +0200 Subject: [PATCH] msxml3: Remove redundant "not NULL" check of the punk arg. --- dlls/msxml3/domdoc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c index aae8a343500..d72d20be8dc 100644 --- a/dlls/msxml3/domdoc.c +++ b/dlls/msxml3/domdoc.c @@ -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 );