aboutsummaryrefslogtreecommitdiff
path: root/contrib/ipfilter/tools
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-06-10 23:16:00 +0000
committerCy Schubert <cy@FreeBSD.org>2017-06-10 23:16:00 +0000
commit5910b44e7dcecde7795ca0ae6c6fe9a0542d5c66 (patch)
tree21952681a18ca64eef23b97d95e7af4ad11beb62 /contrib/ipfilter/tools
parenteeebff447fae3180b671e4050812c476e3b19a57 (diff)
downloadsrc-5910b44e7dcecde7795ca0ae6c6fe9a0542d5c66.tar.gz
src-5910b44e7dcecde7795ca0ae6c6fe9a0542d5c66.zip
Remove redundant assignment of infile from optarg in loadpoolfile()
which was previously assigned from optarg in the argument list from main().
Notes
Notes: svn path=/head/; revision=319810
Diffstat (limited to 'contrib/ipfilter/tools')
-rw-r--r--contrib/ipfilter/tools/ippool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/ipfilter/tools/ippool.c b/contrib/ipfilter/tools/ippool.c
index dbbd93bfda04..18bd603fac8b 100644
--- a/contrib/ipfilter/tools/ippool.c
+++ b/contrib/ipfilter/tools/ippool.c
@@ -361,8 +361,6 @@ loadpoolfile(argc, argv, infile)
{
int c;
- infile = optarg;
-
while ((c = getopt(argc, argv, "dnRuv")) != -1)
switch (c)
{