[2/2] msi: Remove an unused parameter from action_type_matches_script.

Hans Leidekker hans at codeweavers.com
Wed May 29 05:16:17 CDT 2013


---
 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 5b58976..33be99b 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;
-- 
1.7.10.4






More information about the wine-patches mailing list