svn commit: r319810 - head/contrib/ipfilter/tools

Cy Schubert cy at FreeBSD.org
Sat Jun 10 23:16:02 UTC 2017


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)
 		{


More information about the svn-src-head mailing list