Author: tfaber
Date: Sun Jul 19 08:21:58 2015
New Revision: 68420
URL:
http://svn.reactos.org/svn/reactos?rev=68420&view=rev
Log:
[CMD]
- Remove an unused but set variable. Fixes compilation with
FEATURE_UNIX_FILENAME_COMPLETION defined. Patch by Lee Schroeder.
CORE-9913 #resolve
Modified:
trunk/reactos/base/shell/cmd/filecomp.c
Modified: trunk/reactos/base/shell/cmd/filecomp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/filecomp.c?…
==============================================================================
--- trunk/reactos/base/shell/cmd/filecomp.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/cmd/filecomp.c [iso-8859-1] Sun Jul 19 08:21:58 2015
@@ -203,7 +203,6 @@
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 @@
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]);