msi: Initialize a variable in get_patch_product_codes (clang).
This commit is contained in:
parent
eb4e5d6024
commit
aae1b21092
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue