summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2006-02-09 09:54:46 +0000
committerotto <otto@openbsd.org>2006-02-09 09:54:46 +0000
commit5c151985f8a19b8e17f09b2ba4cdc157c50b3cb3 (patch)
treece210507d37f85560ba58edfaff06c595d30d1b4 /usr.bin/grep/grep.c
parentTurn validate_plist() into a real visitor that calls validate() for each (diff)
downloadwireguard-openbsd-5c151985f8a19b8e17f09b2ba4cdc157c50b3cb3.tar.xz
wireguard-openbsd-5c151985f8a19b8e17f09b2ba4cdc157c50b3cb3.zip
delint; remove redundant vars and functions; ok jaredy@
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r--usr.bin/grep/grep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index 0a90cd39578..eedc610ba94 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.33 2005/04/03 19:18:33 jaredy Exp $ */
+/* $OpenBSD: grep.c,v 1.34 2006/02/09 09:54:46 otto Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -67,7 +67,6 @@ int Lflag; /* -L: only show names of files with no matches */
int Pflag; /* -P: if -R, no symlinks are followed */
int Rflag; /* -R: recursively search directory trees */
int Sflag; /* -S: if -R, follow all symlinks */
-int Vflag; /* -V: display version information */
#ifndef NOZ
int Zflag; /* -Z: decompress input before processing */
#endif
@@ -97,7 +96,6 @@ enum {
/* Housekeeping */
int first; /* flag whether or not this is our first match */
int tail; /* lines left to print */
-int lead; /* number of lines in leading context queue */
struct patfile {
const char *pf_file;