James Hawkins : msi: Don't check for a NULL component, as the component is guaranteed to exist.

Alexandre Julliard julliard at winehq.org
Tue Aug 19 08:46:43 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Mon Aug 18 23:01:00 2008 -0500

msi: Don't check for a NULL component, as the component is guaranteed to exist.

---

 dlls/msi/files.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index 08e8ec8..32334cd 100644
--- a/dlls/msi/files.c
+++ b/dlls/msi/files.c
@@ -444,8 +444,6 @@ UINT ACTION_RemoveFiles( MSIPACKAGE *package )
         MSIRECORD *uirow;
         LPWSTR uipath, p;
 
-        if ( !file->Component )
-            continue;
         if ( file->Component->Installed == INSTALLSTATE_LOCAL )
             continue;
 




More information about the wine-cvs mailing list