Author: cy
Date: Sat Jun 10 23:16:00 2017
New Revision: 319810
URL: https://svnweb.freebsd.org/changeset/base/319810

Log:
  Remove redundant assignment of infile from optarg in loadpoolfile()
  which was previously assigned from optarg in the argument list from
  main().

Modified:
  head/contrib/ipfilter/tools/ippool.c

Modified: head/contrib/ipfilter/tools/ippool.c
==============================================================================
--- head/contrib/ipfilter/tools/ippool.c        Sat Jun 10 22:41:28 2017        
(r319809)
+++ head/contrib/ipfilter/tools/ippool.c        Sat Jun 10 23:16:00 2017        
(r319810)
@@ -361,8 +361,6 @@ loadpoolfile(argc, argv, infile)
 {
        int c;
 
-       infile = optarg;
-
        while ((c = getopt(argc, argv, "dnRuv")) != -1)
                switch (c)
                {
_______________________________________________
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