mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[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
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user