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 trailing whitespace



details:   https://anonhg.NetBSD.org/src/rev/0c1be1de8501
branches:  trunk
changeset: 1019553:0c1be1de8501
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Mar 14 04:52:10 2021 +0000

description:
indent: remove trailing whitespace

diffstat:

 usr.bin/indent/pr_comment.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r b3352ed01641 -r 0c1be1de8501 usr.bin/indent/pr_comment.c
--- a/usr.bin/indent/pr_comment.c       Sun Mar 14 04:42:17 2021 +0000
+++ b/usr.bin/indent/pr_comment.c       Sun Mar 14 04:52:10 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pr_comment.c,v 1.33 2021/03/14 04:42:17 rillig Exp $   */
+/*     $NetBSD: pr_comment.c,v 1.34 2021/03/14 04:52:10 rillig Exp $   */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@
 #include <sys/cdefs.h>
 #ifndef lint
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: pr_comment.c,v 1.33 2021/03/14 04:42:17 rillig Exp $");
+__RCSID("$NetBSD: pr_comment.c,v 1.34 2021/03/14 04:52:10 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/pr_comment.c 334927 2018-06-10 16:44:18Z pstef $");
 #endif
@@ -146,15 +146,15 @@
                ps.com_col = 1 + !opt.format_col1_comments;
        } else {
            break_delim = false;
-           
+
            int target_col;
            if (s_code != e_code)
                target_col = 1 + indentation_after(compute_code_indent(), s_code);
            else if (s_lab != e_lab)
                target_col = 1 + indentation_after(compute_label_indent(), s_lab);
-           else 
+           else
                target_col = 1;
-           
+
            ps.com_col = ps.decl_on_line || ps.ind_level == 0
                ? opt.decl_comment_column : opt.comment_column;
            if (ps.com_col <= target_col)



Home | Main Index | Thread Index | Old Index