Author: kevans
Date: Fri Jun 15 03:31:30 2018
New Revision: 335188
URL: https://svnweb.freebsd.org/changeset/base/335188

Log:
  bsdgrep(1): Remove redundant initialization; unconditionally assigned later

Modified:
  head/usr.bin/grep/util.c

Modified: head/usr.bin/grep/util.c
==============================================================================
--- head/usr.bin/grep/util.c    Fri Jun 15 03:28:05 2018        (r335187)
+++ head/usr.bin/grep/util.c    Fri Jun 15 03:31:30 2018        (r335188)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to