Hans Leidekker : msi: Initialize a variable in get_patch_product_codes ( clang).
Alexandre Julliard
julliard at winehq.org
Thu Jan 27 12:43:24 CST 2011
Module: wine
Branch: master
Commit: aae1b210920435268673343d83004043d66411b4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aae1b210920435268673343d83004043d66411b4
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Jan 27 11:56:39 2011 +0100
msi: Initialize a variable in get_patch_product_codes (clang).
---
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)
More information about the wine-cvs
mailing list