From aae1b210920435268673343d83004043d66411b4 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Thu, 27 Jan 2011 11:56:39 +0100 Subject: [PATCH] msi: Initialize a variable in get_patch_product_codes (clang). --- dlls/msi/msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 948ae35249f..325a5b04634 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) -- 2.11.4.GIT