diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2025-11-26 23:24:17 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2025-11-26 23:31:37 +0000 |
| commit | 20c48f090b270d0124d5f0b31c6f3a639efbbc80 (patch) | |
| tree | 9afacfff2c7d1dc1c39dbe4ad645fe0f680daab7 | |
| parent | d5d005e9bf4933d5680dd0bb5d42bdf440122aa4 (diff) | |
ipfilter: Remove unused variable
Reported by: jlduran
Fixes: eda1756d0454, 821774dfbdaa
MFC after: 1 week
X-MFC with: eda1756d0454, 821774dfbdaa
| -rw-r--r-- | sys/netpfil/ipfilter/netinet/fil.c | 2 | ||||
| -rw-r--r-- | sys/netpfil/ipfilter/netinet/ip_nat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c index 0de5378322df..166b7bfd9abe 100644 --- a/sys/netpfil/ipfilter/netinet/fil.c +++ b/sys/netpfil/ipfilter/netinet/fil.c @@ -4403,7 +4403,7 @@ int frrequest(ipf_main_softc_t *softc, int unit, ioctlcmd_t req, caddr_t data, int set, int makecopy) { - int error = 0, in, family, need_free = 0, interr, i; + int error = 0, in, family, need_free = 0, interr; int interr_tbl[3] = { 152, 156, 153}; enum { OP_ADD, /* add rule */ OP_REM, /* remove rule */ diff --git a/sys/netpfil/ipfilter/netinet/ip_nat.c b/sys/netpfil/ipfilter/netinet/ip_nat.c index 44ab7e9283de..d83454185609 100644 --- a/sys/netpfil/ipfilter/netinet/ip_nat.c +++ b/sys/netpfil/ipfilter/netinet/ip_nat.c @@ -974,7 +974,7 @@ ipf_nat_ioctl(ipf_main_softc_t *softc, caddr_t data, ioctlcmd_t cmd, int mode, int uid, void *ctx) { ipf_nat_softc_t *softn = softc->ipf_nat_soft; - int error = 0, ret, arg, getlock, interr, i; + int error = 0, ret, arg, getlock, interr; int interr_tbl[3] = { 60077, 60081, 60078 }; ipnat_t *nat, *nt, *n; ipnat_t natd; |
