Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2025 20:07:18 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0ae2ba5e2083 - main - pfctl: remove unused variables
Message-ID:  <202502052007.515K7IBx007921@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



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