Michael Stefaniuc : msxml3: Remove redundant "not NULL" check of the punk arg.
Alexandre Julliard
julliard at winehq.org
Thu May 20 11:02:58 CDT 2010
Module: wine
Branch: master
Commit: 49c5494ff83ded3bc93f74182adbd49536f226c6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=49c5494ff83ded3bc93f74182adbd49536f226c6
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Thu May 20 01:15:22 2010 +0200
msxml3: Remove redundant "not NULL" check of the punk arg.
---
dlls/msxml3/domdoc.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
index aae8a34..d72d20b 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 );
More information about the wine-cvs
mailing list