Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2019 01:43:46 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r353077 - stable/11/contrib/ipfilter/tools
Message-ID:  <201910040143.x941hkn2052324@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Fri Oct  4 01:43:45 2019
New Revision: 353077
URL: https://svnweb.freebsd.org/changeset/base/353077

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

Modified:
  stable/11/contrib/ipfilter/tools/ippool.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/contrib/ipfilter/tools/ippool.c
==============================================================================
--- stable/11/contrib/ipfilter/tools/ippool.c	Fri Oct  4 01:41:29 2019	(r353076)
+++ stable/11/contrib/ipfilter/tools/ippool.c	Fri Oct  4 01:43:45 2019	(r353077)
@@ -355,8 +355,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?201910040143.x941hkn2052324>