From 1be1b8433a6ccdf26e6bf6f8f8b8c236ac23e35e Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 29 May 2013 12:16:17 +0200 Subject: [PATCH] msi: Remove an unused parameter from action_type_matches_script. --- dlls/msi/custom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index 5b58976bea7..33be99b2090 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -1118,7 +1118,7 @@ static UINT HANDLE_CustomType53_54( MSIPACKAGE *package, const WCHAR *source, co return wait_thread_handle( info ); } -static BOOL action_type_matches_script( MSIPACKAGE *package, UINT type, UINT script ) +static BOOL action_type_matches_script( UINT type, UINT script ) { switch (script) { @@ -1212,7 +1212,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL if (type & msidbCustomActionTypeNoImpersonate) WARN("msidbCustomActionTypeNoImpersonate not handled\n"); - if (!execute || !action_type_matches_script( package, type, script )) + if (!execute || !action_type_matches_script( type, script )) { rc = defer_custom_action( package, action, type ); goto end; -- 2.11.4.GIT