Module: wine Branch: master Commit: db70edfc827c789447a21e389a4b5222b9b2f9ed URL: http://source.winehq.org/git/wine.git/?a=commit;h=db70edfc827c789447a21e389a...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Sun Feb 17 21:22:44 2008 +0100
msi: Remove unused parameter to msi_comp_find_prodcode().
---
dlls/msi/msi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 72a17bb..13b693f 100644 --- a/dlls/msi/msi.c +++ b/dlls/msi/msi.c @@ -923,7 +923,7 @@ static BOOL msi_comp_find_package(LPCWSTR prodcode, MSIINSTALLCONTEXT context) return (res == ERROR_SUCCESS); }
-static BOOL msi_comp_find_prodcode(LPCWSTR prodcode, LPWSTR squished_pc, +static BOOL msi_comp_find_prodcode(LPWSTR squished_pc, MSIINSTALLCONTEXT context, LPCWSTR comp, DWORD *sz) { @@ -983,7 +983,7 @@ UINT WINAPI MsiQueryComponentStateW(LPCWSTR szProductCode,
*pdwState = INSTALLSTATE_UNKNOWN;
- if (!msi_comp_find_prodcode(szProductCode, squished_pc, dwContext, szComponent, &sz)) + if (!msi_comp_find_prodcode(squished_pc, dwContext, szComponent, &sz)) return ERROR_UNKNOWN_COMPONENT;
if (sz == 0)