Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2017 23:16:00 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r319810 - head/contrib/ipfilter/tools
Message-ID:  <201706102316.v5ANG0Bu031239@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 		{



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706102316.v5ANG0Bu031239>