Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2021 01:22:05 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: 7d4369a1e723 - stable/12 - ipft_hx: remove set-but-not-unused vars
Message-ID:  <202112140122.1BE1M5o8064974@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=7d4369a1e72375235ca7bd75b4e0b24d20e5b190

commit 7d4369a1e72375235ca7bd75b4e0b24d20e5b190
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:18:37 +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?202112140122.1BE1M5o8064974>