svn commit: r216404 - head/bin/sh

Ulrich Spoerlein uqs at FreeBSD.org
Mon Dec 13 10:48:50 UTC 2010


Author: uqs
Date: Mon Dec 13 10:48:49 2010
New Revision: 216404
URL: http://svn.freebsd.org/changeset/base/216404

Log:
  Remove duplicate check, turning dead code into live code.
  
  Coverity CID:	5114
  Reviewed by:	jilles

Modified:
  head/bin/sh/parser.c

Modified: head/bin/sh/parser.c
==============================================================================
--- head/bin/sh/parser.c	Mon Dec 13 10:40:16 2010	(r216403)
+++ head/bin/sh/parser.c	Mon Dec 13 10:48:49 2010	(r216404)
@@ -887,8 +887,6 @@ xxreadtoken(void)
 	startlinno = plinno;
 	for (;;) {	/* until token or start of word found */
 		c = pgetc_macro();
-		if (c == ' ' || c == '\t')
-			continue;		/* quick check for white space first */
 		switch (c) {
 		case ' ': case '\t':
 			continue;


More information about the svn-src-all mailing list