- 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:
Thomas Faber 2015-07-19 08:21:58 +00:00
parent 027dd2f4f0
commit 88fed9bfce

View file

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