cmd: Remove variable doRecursive which is not really used from WCMD_for.

This commit is contained in:
Gerald Pfeifer 2010-05-01 16:24:45 +02:00 committed by Alexandre Julliard
parent f4fcd81167
commit 02a0bd3a00
1 changed files with 2 additions and 3 deletions

View File

@ -723,7 +723,6 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) {
WCHAR *curPos = p;
BOOL expandDirs = FALSE;
BOOL useNumbers = FALSE;
BOOL doRecursive = FALSE;
BOOL doFileset = FALSE;
LONG numbers[3] = {0,0,0}; /* Defaults to 0 in native */
int itemNum;
@ -745,8 +744,8 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) {
{
BOOL isRecursive = (*curPos == 'R');
if (isRecursive) doRecursive = TRUE;
else doFileset = TRUE;
if (!isRecursive)
doFileset = TRUE;
/* Skip whitespace */
curPos++;