Marcus Meissner : msi: Removed useless NULL check (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Jun 27 17:41:19 CDT 2011


Module: wine
Branch: master
Commit: 59f8cfeb22c0b1e900df0ccf3fa41fcb833a3545
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=59f8cfeb22c0b1e900df0ccf3fa41fcb833a3545

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sun Jun 26 17:17:38 2011 +0200

msi: Removed useless NULL check (Coverity).

---

 dlls/msi/suminfo.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/suminfo.c b/dlls/msi/suminfo.c
index ccde725..e0c99b8 100644
--- a/dlls/msi/suminfo.c
+++ b/dlls/msi/suminfo.c
@@ -516,9 +516,7 @@ UINT WINAPI MsiGetSummaryInformationW( MSIHANDLE hDatabase,
         msiobj_release( &si->hdr );
     }
 
-    if( db )
-        msiobj_release( &db->hdr );
-
+    msiobj_release( &db->hdr );
     return ret;
 }
 




More information about the wine-cvs mailing list