Source-Changes-HG archive

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

[src/trunk]: src/sbin/dmesg Delete a redundant (useless) assignment. NFCI.



details:   https://anonhg.NetBSD.org/src/rev/26770a1a325d
branches:  trunk
changeset: 456979:26770a1a325d
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Jun 04 11:59:05 2019 +0000

description:
Delete a redundant (useless) assignment.   NFCI.

diffstat:

 sbin/dmesg/dmesg.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r d1bd9da5a7aa -r 26770a1a325d sbin/dmesg/dmesg.c
--- a/sbin/dmesg/dmesg.c        Tue Jun 04 11:54:03 2019 +0000
+++ b/sbin/dmesg/dmesg.c        Tue Jun 04 11:59:05 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmesg.c,v 1.42 2019/06/04 11:37:39 kre Exp $   */
+/*     $NetBSD: dmesg.c,v 1.43 2019/06/04 11:59:05 kre Exp $   */
 /*-
  * Copyright (c) 1991, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)dmesg.c    8.1 (Berkeley) 6/5/93";
 #else
-__RCSID("$NetBSD: dmesg.c,v 1.42 2019/06/04 11:37:39 kre Exp $");
+__RCSID("$NetBSD: dmesg.c,v 1.43 2019/06/04 11:59:05 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -391,7 +391,6 @@
                                        continue;
                                break;
                        }
-                       newl = 0;
                }
                newl = ch == '\n';
                (void)vis(buf, ch, VIS_NOSLASH, 0);



Home | Main Index | Thread Index | Old Index