mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +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:
parent
027dd2f4f0
commit
88fed9bfce
|
@ -203,7 +203,6 @@ BOOL ShowCompletionMatches (LPTSTR str, INT charcount)
|
||||||
HANDLE hFile;
|
HANDLE hFile;
|
||||||
BOOL found_dot = FALSE;
|
BOOL found_dot = FALSE;
|
||||||
INT curplace = 0;
|
INT curplace = 0;
|
||||||
INT start;
|
|
||||||
INT count;
|
INT count;
|
||||||
TCHAR path[MAX_PATH];
|
TCHAR path[MAX_PATH];
|
||||||
TCHAR fname[MAX_PATH];
|
TCHAR fname[MAX_PATH];
|
||||||
|
@ -232,10 +231,8 @@ BOOL ShowCompletionMatches (LPTSTR str, INT charcount)
|
||||||
if (str[count] == _T(' '))
|
if (str[count] == _T(' '))
|
||||||
count++;
|
count++;
|
||||||
|
|
||||||
start = count;
|
|
||||||
|
|
||||||
if (str[count] == _T('"'))
|
if (str[count] == _T('"'))
|
||||||
count++; /* don't increment start */
|
count++;
|
||||||
|
|
||||||
/* extract directory from word */
|
/* extract directory from word */
|
||||||
_tcscpy (directory, &str[count]);
|
_tcscpy (directory, &str[count]);
|
||||||
|
|
Loading…
Reference in a new issue