sh: Remove impossible evalskip check in 'for'.

This commit is contained in:
Jilles Tjoelker 2011-11-27 00:09:59 +00:00
parent d3e8e66d75
commit 03f33e912d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228015

View File

@ -343,8 +343,6 @@ evalfor(union node *n, int flags)
for (argp = n->nfor.args ; argp ; argp = argp->narg.next) {
oexitstatus = exitstatus;
expandarg(argp, &arglist, EXP_FULL | EXP_TILDE);
if (evalskip)
goto out;
}
*arglist.lastp = NULL;
@ -364,7 +362,6 @@ evalfor(union node *n, int flags)
}
}
loopnest--;
out:
popstackmark(&smark);
}