msi: Initialize a variable in get_patch_product_codes (clang).

This commit is contained in:
Hans Leidekker 2011-01-27 11:56:39 +01:00 committed by Alexandre Julliard
parent eb4e5d6024
commit aae1b21092
1 changed files with 1 additions and 1 deletions

View File

@ -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)