Paul Vriens : shell32: Remove some unneeded parameter setting.
Alexandre Julliard
julliard at winehq.org
Thu Jan 14 11:33:35 CST 2010
Module: wine
Branch: master
Commit: 3cbaaaa564bb5471653b8c47b1a6dfa8fa52d7fd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3cbaaaa564bb5471653b8c47b1a6dfa8fa52d7fd
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Thu Jan 14 13:47:48 2010 +0100
shell32: Remove some unneeded parameter setting.
---
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)
More information about the wine-cvs
mailing list