Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2021 01:20:56 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: e34975c5c60a - stable/13 - ipft_tx: remove set-but-not-unused vars
Message-ID:  <202112140120.1BE1KuPh060761@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=e34975c5c60a05920f26043cace72a262e7c19be

commit e34975c5c60a05920f26043cace72a262e7c19be
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-11 04:49:22 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-14 01:13:17 +0000

    ipft_tx: remove set-but-not-unused vars
    
    (cherry picked from commit 9018f7fa45c0bc66cfdd4496e695218be3d37a33)
---
 contrib/ipfilter/lib/ipft_tx.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/ipfilter/lib/ipft_tx.c b/contrib/ipfilter/lib/ipft_tx.c
index 49d7cb2b8c5c..3499afedf854 100644
--- a/contrib/ipfilter/lib/ipft_tx.c
+++ b/contrib/ipfilter/lib/ipft_tx.c
@@ -122,10 +122,8 @@ static	int	text_readip(mb, ifn, dir)
 	char	line[513];
 	ip_t	*ip;
 	char	*buf;
-	int	cnt;
 
 	buf = (char *)mb->mb_buf;
-	cnt = sizeof(mb->mb_buf);
 
 	*ifn = NULL;
 	while (fgets(line, sizeof(line)-1, tfp)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112140120.1BE1KuPh060761>