svn commit: r360096 - head/sbin/pfctl

Kristof Provost kp at FreeBSD.org
Sun Apr 19 15:32:15 UTC 2020


Author: kp
Date: Sun Apr 19 15:32:14 2020
New Revision: 360096
URL: https://svnweb.freebsd.org/changeset/base/360096

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

Modified:
  head/sbin/pfctl/pfctl_parser.c

Modified: head/sbin/pfctl/pfctl_parser.c
==============================================================================
--- head/sbin/pfctl/pfctl_parser.c	Sun Apr 19 14:25:56 2020	(r360095)
+++ head/sbin/pfctl/pfctl_parser.c	Sun Apr 19 15:32:14 2020	(r360096)
@@ -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