Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2020 16:06:10 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r360341 - stable/12/sbin/pfctl
Message-ID:  <202004261606.03QG6AVf089132@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kp
Date: Sun Apr 26 16:06:09 2020
New Revision: 360341
URL: https://svnweb.freebsd.org/changeset/base/360341

Log:
  MFC r360096:
  
  pfctl: Remove unused variable
  
  Submitted by:	Nick Rogers
  MFC after:	1 week
  Sponsored by:	RG Nets

Modified:
  stable/12/sbin/pfctl/pfctl_parser.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/pfctl/pfctl_parser.c
==============================================================================
--- stable/12/sbin/pfctl/pfctl_parser.c	Sun Apr 26 15:52:41 2020	(r360340)
+++ stable/12/sbin/pfctl/pfctl_parser.c	Sun Apr 26 16:06:09 2020	(r360341)
@@ -1370,13 +1370,11 @@ struct node_host *
 ifa_exists(char *ifa_name)
 {
 	struct node_host	*n;
-	int			s;
 
 	if (iftab == NULL)
 		ifa_load();
 
 	/* check whether this is a group */
-	s = get_query_socket();
 	if (is_a_group(ifa_name)) {
 		/* fake a node_host */
 		if ((n = calloc(1, sizeof(*n))) == NULL)



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