Module Name:    src
Committed By:   rillig
Date:           Mon Jul 22 21:03:17 UTC 2024

Modified Files:
        src/usr.bin/getconf: getconf.c

Log Message:
getconf: clean up obsolete lint stuff

The warning about the "weird expression" was fixed in lint's tree.c
1.201 from 2021-01-31.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/usr.bin/getconf/getconf.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/getconf/getconf.c
diff -u src/usr.bin/getconf/getconf.c:1.37 src/usr.bin/getconf/getconf.c:1.38
--- src/usr.bin/getconf/getconf.c:1.37	Sat Jan 27 16:04:36 2024
+++ src/usr.bin/getconf/getconf.c	Mon Jul 22 21:03:17 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: getconf.c,v 1.37 2024/01/27 16:04:36 christos Exp $	*/
+/*	$NetBSD: getconf.c,v 1.38 2024/07/22 21:03:17 rillig Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -30,9 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
-__RCSID("$NetBSD: getconf.c,v 1.37 2024/01/27 16:04:36 christos Exp $");
-#endif /* not lint */
+__RCSID("$NetBSD: getconf.c,v 1.38 2024/07/22 21:03:17 rillig Exp $");
 
 #include <err.h>
 #include <errno.h>
@@ -234,7 +232,6 @@ main(int argc, char **argv)
 again:
 	for (cp = conf_table; cp->name != NULL; cp++) {
 		if (a_flag || strcmp(vn, cp->name) == 0) {
-			/*LINTED weird expression*/
 			if ((cp->type == PATHCONF) == (pathname != NULL)) {
 				printvar(cp, pathname);
 				found = 1;

Reply via email to