Dan Kegel : msi: Initialize variable to placate static analyzers.
Alexandre Julliard
julliard at winehq.org
Thu Oct 13 14:10:10 CDT 2011
Module: wine
Branch: master
Commit: c77395dc08ffa41da3b51278dcb8194951125d5e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c77395dc08ffa41da3b51278dcb8194951125d5e
Author: Dan Kegel <dank at kegel.com>
Date: Thu Oct 13 06:26:15 2011 -0700
msi: Initialize variable to placate static analyzers.
---
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 c1ebe17..ce08940 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -350,7 +350,7 @@ done:
static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWSTR szCommandLine)
{
- UINT r, i;
+ UINT i, r = ERROR_FUNCTION_FAILED;
DWORD size;
LPCWSTR cmd_ptr = szCommandLine;
LPWSTR cmd, *codes = NULL;
More information about the wine-cvs
mailing list