Module Name:    src
Committed By:   rillig
Date:           Mon Mar  8 22:28:31 UTC 2021

Modified Files:
        src/usr.bin/indent: io.c

Log Message:
indent: remove redundant initializer in dump_line

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/indent/io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/indent/io.c
diff -u src/usr.bin/indent/io.c:1.26 src/usr.bin/indent/io.c:1.27
--- src/usr.bin/indent/io.c:1.26	Mon Mar  8 22:26:17 2021
+++ src/usr.bin/indent/io.c	Mon Mar  8 22:28:31 2021
@@ -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 @@ static char sccsid[] = "@(#)io.c	8.1 (Be
 #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 @@ static int pad_output(int current, int t
 void
 dump_line(void)
 {
-    int cur_col,
-                target_col = 1;
+    int cur_col, target_col;
     static int  not_first_line;
 
     if (ps.procname[0]) {

Reply via email to