summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-05-19 18:16:29 +0000
committerjdp <jdp@FreeBSD.org>1997-05-19 18:16:29 +0000
commit13206dfe736ae31106bbaba0db80a492b5b38e67 (patch)
treed63a6d888a59ca0c20b0d67c7af3e1dc3add08de /usr.bin/find
parent1a667983e20d99e3a4d8b27998ed0c8501791cb7 (diff)
downloadFreeBSD-src-13206dfe736ae31106bbaba0db80a492b5b38e67.zip
FreeBSD-src-13206dfe736ae31106bbaba0db80a492b5b38e67.tar.gz
Eliminate a variable that is set but never used.
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 84a4a09..49ad226 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -75,27 +75,26 @@ main(argc, argv)
char *argv[];
{
register char **p, **start;
- int Hflag, Lflag, Pflag, ch;
+ int Hflag, Lflag, ch;
(void)setlocale(LC_ALL, "");
(void)time(&now); /* initialize the time-of-day */
p = start = argv;
- Hflag = Lflag = Pflag = 0;
+ Hflag = Lflag = 0;
ftsoptions = FTS_NOSTAT | FTS_PHYSICAL;
while ((ch = getopt(argc, argv, "HLPXdf:x")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
- Lflag = Pflag = 0;
+ Lflag = 0;
break;
case 'L':
Lflag = 1;
- Hflag = Pflag = 0;
+ Hflag = 0;
break;
case 'P':
- Pflag = 1;
Hflag = Lflag = 0;
break;
case 'X':
OpenPOWER on IntegriCloud