Module Name: src Committed By: kre Date: Tue Jun 4 11:59:05 UTC 2019
Modified Files: src/sbin/dmesg: dmesg.c Log Message: Delete a redundant (useless) assignment. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sbin/dmesg/dmesg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/dmesg/dmesg.c diff -u src/sbin/dmesg/dmesg.c:1.42 src/sbin/dmesg/dmesg.c:1.43 --- src/sbin/dmesg/dmesg.c:1.42 Tue Jun 4 11:37:39 2019 +++ src/sbin/dmesg/dmesg.c Tue Jun 4 11:59:05 2019 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 19 #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 @@ main(int argc, char *argv[]) continue; break; } - newl = 0; } newl = ch == '\n'; (void)vis(buf, ch, VIS_NOSLASH, 0);