summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2020-04-19 15:32:14 +0000
committerKristof Provost <kp@FreeBSD.org>2020-04-19 15:32:14 +0000
commit681652667af16267b350fc8dd31b93e7c8133611 (patch)
treef479193414ff5d0963e3ceaafc784fad5f131e20 /sbin/pfctl
parent6cf6c1510d7bcc98a4f51bb11554ad0aaa420a64 (diff)
downloadsrc-test-681652667af16267b350fc8dd31b93e7c8133611.tar.gz
src-test-681652667af16267b350fc8dd31b93e7c8133611.zip
pfctl: Remove unused variable
Submitted by: Nick Rogers MFC after: 1 week Sponsored by: RG Nets
Notes
Notes: svn path=/head/; revision=360096
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl_parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index 4f64052924b00..94f515af73f15 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -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)