Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2021 01:20:54 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: dad871e74436 - stable/13 - ipfcomp: remove set-but-not-unused vars
Message-ID:  <202112140120.1BE1Ks5o060706@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=dad871e74436206bc3c9daaa088096e7770ae732

commit dad871e74436206bc3c9daaa088096e7770ae732
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-11 04:56:10 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-14 01:12:50 +0000

    ipfcomp: remove set-but-not-unused vars
    
    (cherry picked from commit fe5b077c9efcbcc9e92d0d7d877d1e16afc563ce)
---
 contrib/ipfilter/tools/ipfcomp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/ipfilter/tools/ipfcomp.c b/contrib/ipfilter/tools/ipfcomp.c
index 505fde55cfa7..5bbb35c610fa 100644
--- a/contrib/ipfilter/tools/ipfcomp.c
+++ b/contrib/ipfilter/tools/ipfcomp.c
@@ -65,7 +65,6 @@ static	FILE	*cfile = NULL;
 void printc(fr)
 	frentry_t *fr;
 {
-	fripf_t *ipf;
 	u_long *ulp;
 	char *and;
 	FILE *fp;
@@ -78,7 +77,6 @@ void printc(fr)
 	if ((fr->fr_type == FR_T_IPF) &&
 	    ((fr->fr_datype != FRI_NORMAL) || (fr->fr_satype != FRI_NORMAL)))
 		return;
-	ipf = fr->fr_ipf;
 
 	if (cfile == NULL)
 		cfile = fopen("ip_rules.c", "w");



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