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

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)