svn commit: r360341 - stable/12/sbin/pfctl

Kristof Provost kp at FreeBSD.org
Sun Apr 26 16:06:10 UTC 2020


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)


More information about the svn-src-all mailing list