shell32: Remove some unneeded parameter setting.

This commit is contained in:
Paul Vriens 2010-01-14 13:47:48 +01:00 committed by Alexandre Julliard
parent 5f8717d7f6
commit 3cbaaaa564
1 changed files with 0 additions and 3 deletions

View File

@ -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)