Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/c7dcd3288756
branches:  trunk
changeset: 372915:c7dcd3288756
user:      rillig <rillig%NetBSD.org@localhost>
date:      Wed Jan 04 06:04:07 2023 +0000

description:
tests/lint: remove obsolete comments

The handling of initializers was completely rewritten in init.c 1.228
from 2021-12-21.

diffstat:

 tests/usr.bin/xlint/lint1/init.c |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (39 lines):

diff -r c4168dd47740 -r c7dcd3288756 tests/usr.bin/xlint/lint1/init.c
--- a/tests/usr.bin/xlint/lint1/init.c  Wed Jan 04 05:47:19 2023 +0000
+++ b/tests/usr.bin/xlint/lint1/init.c  Wed Jan 04 06:04:07 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init.c,v 1.13 2022/06/22 19:23:18 rillig Exp $ */
+/*     $NetBSD: init.c,v 1.14 2023/01/04 06:04:07 rillig Exp $ */
 # 3 "init.c"
 
 /*
@@ -34,9 +34,6 @@
  * human readers, it is usually clearer to include them.
  *
  * Seen in external/ibm-public/postfix/dist/src/util/dict.c(624).
- *
- * TODO: Properly handle this situation; as of init.c 1.215 from 2021-12-17,
- *  the below initialization sets in->in_err but shouldn't.
  */
 const histogram_entry hgr[] = {
        "odd", 5,
@@ -46,9 +43,6 @@
 
 /*
  * Initialization with fewer braces than usual, must still be accepted.
- *
- * TODO: Properly handle this situation; as of init.c 1.215 from 2021-12-17,
- *  the below initialization sets in->in_err but shouldn't.
  */
 struct {
        int x, y;
@@ -59,9 +53,6 @@
 
 /*
  * Initialization with fewer braces than usual, must still be accepted.
- *
- * TODO: Properly handle this situation; as of init.c 1.215 from 2021-12-17,
- *  the below initialization sets in->in_err but shouldn't.
  */
 void do_nothing(void);
 



Home | Main Index | Thread Index | Old Index