[PATCH 4/4] Remove some unneeded parameter setting
Paul Vriens
Paul.Vriens.Wine at gmail.com
Thu Jan 14 06:47:48 CST 2010
---
dlls/shell32/shlexec.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c
index 20e2888..a81cada 100644
--- a/dlls/shell32/shlexec.c
+++ b/dlls/shell32/shlexec.c
@@ -587,7 +587,6 @@ static UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOpera
if (attribs!=INVALID_FILE_ATTRIBUTES && (attribs&FILE_ATTRIBUTE_DIRECTORY))
{
strcpyW(filetype, wszFolder);
- filetypelen = 6; /* strlen("Folder") */
}
else
{
@@ -660,14 +659,12 @@ static UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOpera
else
{
*filetype = '\0';
- filetypelen = 0;
}
}
if (*filetype)
{
/* pass the operation string to SHELL_FindExecutableByOperation() */
- filetype[filetypelen] = '\0';
retval = SHELL_FindExecutableByOperation(lpOperation, key, filetype, command, sizeof(command));
if (retval > 32)
--
1.6.2.5
--------------060401080904020701020400--
More information about the wine-patches
mailing list