Date: Sat, 11 Dec 2021 05:53:09 GMT From: Cy Schubert <cy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ece1946c1fbd - main - ipft_hx: remove set-but-not-unused vars Message-ID: <202112110553.1BB5r90n059171@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=ece1946c1fbd8d42d621fd59028488a3e71aae65 commit ece1946c1fbd8d42d621fd59028488a3e71aae65 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-12-11 04:46:11 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-12-11 05:52:53 +0000 ipft_hx: remove set-but-not-unused vars MFC after: 3 days --- 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?202112110553.1BB5r90n059171>