Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/indent indent: remove redundant initializer in dump_...
details: https://anonhg.NetBSD.org/src/rev/12b2ae45759d
branches: trunk
changeset: 960139:12b2ae45759d
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Mar 08 22:28:31 2021 +0000
description:
indent: remove redundant initializer in dump_line
No functional change.
diffstat:
usr.bin/indent/io.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 1b7a89b2fa96 -r 12b2ae45759d usr.bin/indent/io.c
--- a/usr.bin/indent/io.c Mon Mar 08 22:26:17 2021 +0000
+++ b/usr.bin/indent/io.c Mon Mar 08 22:28:31 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.26 2021/03/08 22:26:17 rillig Exp $ */
+/* $NetBSD: io.c,v 1.27 2021/03/08 22:28:31 rillig Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@
#include <sys/cdefs.h>
#ifndef lint
#if defined(__NetBSD__)
-__RCSID("$NetBSD: io.c,v 1.26 2021/03/08 22:26:17 rillig Exp $");
+__RCSID("$NetBSD: io.c,v 1.27 2021/03/08 22:28:31 rillig Exp $");
#elif defined(__FreeBSD__)
__FBSDID("$FreeBSD: head/usr.bin/indent/io.c 334927 2018-06-10 16:44:18Z pstef $");
#endif
@@ -73,8 +73,7 @@
void
dump_line(void)
{
- int cur_col,
- target_col = 1;
+ int cur_col, target_col;
static int not_first_line;
if (ps.procname[0]) {
Home |
Main Index |
Thread Index |
Old Index