Module Name:    src
Committed By:   rillig
Date:           Wed Jan  4 06:04:07 UTC 2023

Modified Files:
        src/tests/usr.bin/xlint/lint1: init.c

Log Message:
tests/lint: remove obsolete comments

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


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/usr.bin/xlint/lint1/init.c

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

Modified files:

Index: src/tests/usr.bin/xlint/lint1/init.c
diff -u src/tests/usr.bin/xlint/lint1/init.c:1.13 src/tests/usr.bin/xlint/lint1/init.c:1.14
--- src/tests/usr.bin/xlint/lint1/init.c:1.13	Wed Jun 22 19:23:18 2022
+++ src/tests/usr.bin/xlint/lint1/init.c	Wed Jan  4 06:04:07 2023
@@ -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 @@ typedef struct {
  * 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 @@ const histogram_entry hgr[] = {
 
 /*
  * 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 @@ struct {
 
 /*
  * 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);
 

Reply via email to