git: ece1946c1fbd - main - ipft_hx: remove set-but-not-unused vars
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Dec 2021 05:53:09 UTC
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]".