Gerald Pfeifer : msi: Initialize variable in MSI_ApplyPatchW.
Alexandre Julliard
julliard at winehq.org
Thu May 14 11:07:44 CDT 2009
Module: wine
Branch: master
Commit: aea6418ff0fb916d4e0fb58a98d0c079f074907e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aea6418ff0fb916d4e0fb58a98d0c079f074907e
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Wed May 13 01:25:40 2009 +0200
msi: Initialize variable in MSI_ApplyPatchW.
---
dlls/msi/msi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index ed8b4ab..be1ad93 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -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;
More information about the wine-cvs
mailing list