Author: jilles
Date: Sun Nov 27 00:09:59 2011
New Revision: 228015
URL: http://svn.freebsd.org/changeset/base/228015

Log:
  sh: Remove impossible evalskip check in 'for'.

Modified:
  head/bin/sh/eval.c

Modified: head/bin/sh/eval.c
==============================================================================
--- head/bin/sh/eval.c  Sat Nov 26 23:57:03 2011        (r228014)
+++ head/bin/sh/eval.c  Sun Nov 27 00:09:59 2011        (r228015)
@@ -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);
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to