Marcus Meissner : msi: Initialize info and patch variables (Coverity 923).

Alexandre Julliard julliard at winehq.org
Tue May 5 09:12:53 CDT 2009


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Tue May  5 00:28:16 2009 +0200

msi: Initialize info and patch variables (Coverity 923).

---

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

diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index 43436bd..58a1856 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -303,7 +303,7 @@ done:
 
 static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWSTR szCommandLine)
 {
-    MSIHANDLE patch, info;
+    MSIHANDLE patch = 0, info = 0;
     UINT r, type;
     DWORD size = 0;
     LPCWSTR cmd_ptr = szCommandLine;




More information about the wine-cvs mailing list