aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep/util.c
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-06-15 03:31:30 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-06-15 03:31:30 +0000
commit031f92f512befad4ab1cdfa4e73c852a192d2647 (patch)
tree8599d6020b10ac4fc82f05ffa1401740b1569238 /usr.bin/grep/util.c
parentec0646391dc5e45c9244c1cff22420744cee9dd0 (diff)
downloadsrc-031f92f512befad4ab1cdfa4e73c852a192d2647.tar.gz
src-031f92f512befad4ab1cdfa4e73c852a192d2647.zip
bsdgrep(1): Remove redundant initialization; unconditionally assigned later
Notes
Notes: svn path=/head/; revision=335188
Diffstat (limited to 'usr.bin/grep/util.c')
-rw-r--r--usr.bin/grep/util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/grep/util.c b/usr.bin/grep/util.c
index 3b6abbdfa844..07d9b40cbdcd 100644
--- a/usr.bin/grep/util.c
+++ b/usr.bin/grep/util.c
@@ -317,7 +317,6 @@ procfile(const char *fn)
pc.cntlines = false;
memset(&mc, 0, sizeof(mc));
mc.printmatch = true;
- line_matched = false;
if ((pc.binary && binbehave == BINFILE_BIN) || cflag || qflag ||
lflag || Lflag)
mc.printmatch = false;