Hans Leidekker : msi: Remove an unused parameter from action_type_matches_script.

Alexandre Julliard julliard at winehq.org
Wed May 29 14:47:33 CDT 2013


Module: wine
Branch: master
Commit: 1be1b8433a6ccdf26e6bf6f8f8b8c236ac23e35e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1be1b8433a6ccdf26e6bf6f8f8b8c236ac23e35e

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed May 29 12:16:17 2013 +0200

msi: Remove an unused parameter from action_type_matches_script.

---

 dlls/msi/custom.c |    4 ++--
 1 files 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;




More information about the wine-cvs mailing list