From 88fed9bfce189f8e74a0567ee4d876bf3672fa8b Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 19 Jul 2015 08:21:58 +0000 Subject: [PATCH] [CMD] - Remove an unused but set variable. Fixes compilation with FEATURE_UNIX_FILENAME_COMPLETION defined. Patch by Lee Schroeder. CORE-9913 #resolve svn path=/trunk/; revision=68420 --- reactos/base/shell/cmd/filecomp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reactos/base/shell/cmd/filecomp.c b/reactos/base/shell/cmd/filecomp.c index adacf9092fb..f6e56fccf67 100644 --- a/reactos/base/shell/cmd/filecomp.c +++ b/reactos/base/shell/cmd/filecomp.c @@ -203,7 +203,6 @@ BOOL ShowCompletionMatches (LPTSTR str, INT charcount) HANDLE hFile; BOOL found_dot = FALSE; INT curplace = 0; - INT start; INT count; TCHAR path[MAX_PATH]; TCHAR fname[MAX_PATH]; @@ -232,10 +231,8 @@ BOOL ShowCompletionMatches (LPTSTR str, INT charcount) if (str[count] == _T(' ')) count++; - start = count; - if (str[count] == _T('"')) - count++; /* don't increment start */ + count++; /* extract directory from word */ _tcscpy (directory, &str[count]);