Date: Tue, 14 Dec 2021 01:20:53 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: e5174c89290c - stable/13 - ipft_hx: remove set-but-not-unused vars Message-ID: <202112140120.1BE1KrF8060682@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=e5174c89290cd4b7ba61fab29e9dfe70f2db314b commit e5174c89290cd4b7ba61fab29e9dfe70f2db314b Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-12-11 04:46:11 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-12-14 01:12:32 +0000 ipft_hx: remove set-but-not-unused vars (cherry picked from commit ece1946c1fbd8d42d621fd59028488a3e71aae65) --- contrib/ipfilter/lib/ipft_hx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/ipfilter/lib/ipft_hx.c b/contrib/ipfilter/lib/ipft_hx.c index 0165d0b092f7..e424c3929c79 100644 --- a/contrib/ipfilter/lib/ipft_hx.c +++ b/contrib/ipfilter/lib/ipft_hx.c @@ -65,10 +65,8 @@ static int hex_readip(mb, ifn, dir) char line[513]; ip_t *ip; char *buf; - int cnt; buf = (char *)mb->mb_buf; - cnt = sizeof(mb->mb_buf); /* * interpret start of line as possibly "[ifname]" or * "[in/out,ifname]".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112140120.1BE1KrF8060682>