Module Name: src Committed By: rillig Date: Thu Aug 19 16:18:43 UTC 2021
Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: remove unused static variable To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 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.75 src/usr.bin/xlint/xlint/xlint.c:1.76 --- src/usr.bin/xlint/xlint/xlint.c:1.75 Thu Aug 19 16:15:31 2021 +++ src/usr.bin/xlint/xlint/xlint.c Thu Aug 19 16:18:43 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: xlint.c,v 1.75 2021/08/19 16:15:31 rillig Exp $ */ +/* $NetBSD: xlint.c,v 1.76 2021/08/19 16:18:43 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.75 2021/08/19 16:15:31 rillig Exp $"); +__RCSID("$NetBSD: xlint.c,v 1.76 2021/08/19 16:18:43 rillig Exp $"); #endif #include <sys/param.h> @@ -98,7 +98,7 @@ static char **libsrchpath; static char *libexec_path; /* flags */ -static bool iflag, oflag, Cflag, sflag, tflag, Fflag, dflag, Bflag, Sflag; +static bool iflag, oflag, Cflag, sflag, tflag, Fflag, dflag, Bflag; /* print the commands executed to run the stages of compilation */ static bool Vflag; @@ -449,7 +449,6 @@ main(int argc, char *argv[]) case 'S': if (tflag) usage(); - Sflag = true; pass_flag_to_lint1(c); break;