mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
cmd: Remove variable doRecursive which is not really used from WCMD_for.
This commit is contained in:
parent
f4fcd81167
commit
02a0bd3a00
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user