Gerald Pfeifer : msi: Remove variable product_code which is not really used from MSI_ApplyPatchW .
Module: wine Branch: master Commit: be8d0bbb1e2e604f075e6facdb40ae7f9884fdc9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=be8d0bbb1e2e604f075e6facdb... Author: Gerald Pfeifer <gerald(a)pfeifer.com> Date: Sat May 1 17:49:14 2010 +0200 msi: Remove variable product_code which is not really used from MSI_ApplyPatchW. --- dlls/msi/msi.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 983c0f5..8d63972 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -304,7 +304,7 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS MSIHANDLE patch = 0, info = 0; UINT r = ERROR_SUCCESS, type; DWORD size = 0; - LPCWSTR cmd_ptr = szCommandLine, product_code = szProductCode; + LPCWSTR cmd_ptr = szCommandLine; LPWSTR beg, end, cmd = NULL, codes = NULL; BOOL succeeded = FALSE; @@ -341,8 +341,6 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS r = MsiSummaryInfoGetPropertyW(info, PID_TEMPLATE, &type, NULL, NULL, codes, &size); if (r != ERROR_SUCCESS) goto done; - - product_code = codes; } if (!szCommandLine)
participants (1)
-
Alexandre Julliard