Author: kevans
Date: Thu Jun  7 18:36:12 2018
New Revision: 334807
URL: https://svnweb.freebsd.org/changeset/base/334807

Log:
  bsdgrep(1): whoops, garbage collect the now write-only variable

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

Modified: head/usr.bin/grep/util.c
==============================================================================
--- head/usr.bin/grep/util.c    Thu Jun  7 18:27:58 2018        (r334806)
+++ head/usr.bin/grep/util.c    Thu Jun  7 18:36:12 2018        (r334807)
@@ -144,11 +144,11 @@ grep_tree(char **argv)
 {
        FTS *fts;
        FTSENT *p;
-       int c, fts_flags;
+       int fts_flags;
        bool matched, ok;
        const char *wd[] = { ".", NULL };
 
-       c = fts_flags = 0;
+       fts_flags = 0;
        matched = false;
 
        switch(linkbehave) {
_______________________________________________
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