git: 0ae2ba5e2083 - main - pfctl: remove unused variables
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Feb 2025 20:07:18 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ae2ba5e2083c33343658f62ec597dc73f68adc4
commit 0ae2ba5e2083c33343658f62ec597dc73f68adc4
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-02-05 08:26:13 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-02-05 20:06:54 +0000
pfctl: remove unused variables
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sbin/pfctl/pfctl_parser.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index f32fe9024ff1..7a1339ad273a 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -499,11 +499,6 @@ print_pool(struct pfctl_pool *pool, u_int16_t p1, u_int16_t p2,
pool->mape.offset, pool->mape.psidlen, pool->mape.psid);
}
-const char * const pf_reasons[PFRES_MAX+1] = PFRES_NAMES;
-const char * const pf_lcounters[LCNT_MAX+1] = LCNT_NAMES;
-const char * const pf_fcounters[FCNT_MAX+1] = FCNT_NAMES;
-const char * const pf_scounters[FCNT_MAX+1] = FCNT_NAMES;
-
void
print_status(struct pfctl_status *s, struct pfctl_syncookies *cookies, int opts)
{