msi: Initialize variable in MSI_ApplyPatchW.

This commit is contained in:
Gerald Pfeifer 2009-05-13 01:25:40 +02:00 committed by Alexandre Julliard
parent 0c71d5b3f7
commit aea6418ff0
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ done:
static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWSTR szCommandLine)
{
MSIHANDLE patch = 0, info = 0;
UINT r, type;
UINT r = ERROR_SUCCESS, type;
DWORD size = 0;
LPCWSTR cmd_ptr = szCommandLine;
LPCWSTR product_code = szProductCode;