From db70edfc827c789447a21e389a4b5222b9b2f9ed Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 17 Feb 2008 21:22:44 +0100 Subject: [PATCH] msi: Remove unused parameter to msi_comp_find_prodcode(). --- dlls/msi/msi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c index 72a17bbb271..13b693fa750 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)