Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/xlint lint: remove unused static variable
details: https://anonhg.NetBSD.org/src/rev/d54e7900c3f8
branches: trunk
changeset: 1023019:d54e7900c3f8
user: rillig <rillig%NetBSD.org@localhost>
date: Thu Aug 19 16:18:43 2021 +0000
description:
lint: remove unused static variable
diffstat:
usr.bin/xlint/xlint/xlint.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r c89929fe600f -r d54e7900c3f8 usr.bin/xlint/xlint/xlint.c
--- a/usr.bin/xlint/xlint/xlint.c Thu Aug 19 16:15:31 2021 +0000
+++ b/usr.bin/xlint/xlint/xlint.c Thu Aug 19 16:18:43 2021 +0000
@@ -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 *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 @@
case 'S':
if (tflag)
usage();
- Sflag = true;
pass_flag_to_lint1(c);
break;
Home |
Main Index |
Thread Index |
Old Index