Francois Gouget : shell32: Remove unused parameters from SHELL_FindExecutableByOperation().

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 24 06:19:02 CST 2006


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Nov 22 19:29:04 2006 +0100

shell32: Remove unused parameters from SHELL_FindExecutableByOperation().

---

 dlls/shell32/shlexec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c
index c618def..44166bb 100644
--- a/dlls/shell32/shlexec.c
+++ b/dlls/shell32/shlexec.c
@@ -490,7 +490,7 @@ end:
     return found;
 }
 
-static UINT SHELL_FindExecutableByOperation(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOperation, LPWSTR key, LPWSTR filetype, LPWSTR command, LONG commandlen)
+static UINT SHELL_FindExecutableByOperation(LPCWSTR lpOperation, LPWSTR key, LPWSTR filetype, LPWSTR command, LONG commandlen)
 {
     static const WCHAR wCommand[] = {'\\','c','o','m','m','a','n','d',0};
     HKEY hkeyClass;
@@ -684,7 +684,7 @@ UINT SHELL_FindExecutable(LPCWSTR lpPath
     {
         /* pass the operation string to SHELL_FindExecutableByOperation() */
         filetype[filetypelen] = '\0';
-        retval = SHELL_FindExecutableByOperation(lpPath, lpFile, lpOperation, key, filetype, command, sizeof(command));
+        retval = SHELL_FindExecutableByOperation(lpOperation, key, filetype, command, sizeof(command));
 
 	if (retval > 32)
 	{




More information about the wine-cvs mailing list