Module Name: src Committed By: rillig Date: Tue Dec 28 22:59:56 UTC 2021
Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: do not output "Lint pass2:" A colon at the end of a line requires at least 1 follow-up line, but xlint cannot know whether lint2 will find anything to complain about. Having a colon followed by nothing creates unnecessary confusion. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/usr.bin/xlint/xlint/xlint.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/xlint/xlint/xlint.c diff -u src/usr.bin/xlint/xlint/xlint.c:1.87 src/usr.bin/xlint/xlint/xlint.c:1.88 --- src/usr.bin/xlint/xlint/xlint.c:1.87 Tue Dec 14 16:22:30 2021 +++ src/usr.bin/xlint/xlint/xlint.c Tue Dec 28 22:59:56 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: xlint.c,v 1.87 2021/12/14 16:22:30 christos Exp $ */ +/* $NetBSD: xlint.c,v 1.88 2021/12/28 22:59:56 rillig Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -38,7 +38,7 @@ #include <sys/cdefs.h> #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: xlint.c,v 1.87 2021/12/14 16:22:30 christos Exp $"); +__RCSID("$NetBSD: xlint.c,v 1.88 2021/12/28 22:59:56 rillig Exp $"); #endif #include <sys/param.h> @@ -606,7 +606,6 @@ main(int argc, char *argv[]) findlibs(deflibs); } - (void)printf("Lint pass2:\n"); run_lint2(); if (oflag)