Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 lint: remove redundant comments



details:   https://anonhg.NetBSD.org/src/rev/9ab1a1edf558
branches:  trunk
changeset: 373579:9ab1a1edf558
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Feb 18 15:18:49 2023 +0000

description:
lint: remove redundant comments

diffstat:

 usr.bin/xlint/lint1/func.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r d1216c79495b -r 9ab1a1edf558 usr.bin/xlint/lint1/func.c
--- a/usr.bin/xlint/lint1/func.c        Sat Feb 18 15:14:11 2023 +0000
+++ b/usr.bin/xlint/lint1/func.c        Sat Feb 18 15:18:49 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: func.c,v 1.147 2023/01/29 18:37:20 rillig Exp $        */
+/*     $NetBSD: func.c,v 1.148 2023/02/18 15:18:49 rillig Exp $        */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID)
-__RCSID("$NetBSD: func.c,v 1.147 2023/01/29 18:37:20 rillig Exp $");
+__RCSID("$NetBSD: func.c,v 1.148 2023/02/18 15:18:49 rillig Exp $");
 #endif
 
 #include <stdlib.h>
@@ -150,9 +150,6 @@
  */
 bool   quadflg;
 
-/*
- * Puts a new element at the top of the stack used for control statements.
- */
 void
 begin_control_statement(control_statement_kind kind)
 {
@@ -164,9 +161,6 @@
        cstmt = cs;
 }
 
-/*
- * Removes the top element of the stack used for control statements.
- */
 void
 end_control_statement(control_statement_kind kind)
 {



Home | Main Index | Thread Index | Old Index