Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh remove unused assignment



details:   https://anonhg.NetBSD.org/src/rev/433df4811694
branches:  trunk
changeset: 331891:433df4811694
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Aug 29 09:35:19 2014 +0000

description:
remove unused assignment

diffstat:

 bin/sh/parser.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e18f66df5a64 -r 433df4811694 bin/sh/parser.c
--- a/bin/sh/parser.c   Fri Aug 29 09:27:43 2014 +0000
+++ b/bin/sh/parser.c   Fri Aug 29 09:35:19 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parser.c,v 1.92 2014/08/29 09:26:39 christos Exp $     */
+/*     $NetBSD: parser.c,v 1.93 2014/08/29 09:35:19 christos Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)parser.c   8.7 (Berkeley) 5/16/95";
 #else
-__RCSID("$NetBSD: parser.c,v 1.92 2014/08/29 09:26:39 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.93 2014/08/29 09:35:19 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -839,7 +839,7 @@
                        pungetc();
                        continue;
                case '\\':
-                       switch (c = pgetc()) {
+                       switch (pgetc()) {
                        case '\n':
                                startlinno = ++plinno;
                                if (doprompt)



Home | Main Index | Thread Index | Old Index