[09/10] msi: Initialize a variable in get_patch_product_codes (clang).
Hans Leidekker
hans at codeweavers.com
Thu Jan 27 04:56:39 CST 2011
---
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 948ae35..325a5b0 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -306,7 +306,7 @@ static UINT get_patch_product_codes( LPCWSTR szPatchPackage, WCHAR ***product_co
UINT r, type;
DWORD size;
static WCHAR empty[] = {0};
- WCHAR *codes;
+ WCHAR *codes = NULL;
r = MsiOpenDatabaseW( szPatchPackage, MSIDBOPEN_READONLY, &patch );
if (r != ERROR_SUCCESS)
--
1.7.1
More information about the wine-patches
mailing list