Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2021 05:53:14 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: fe5b077c9efc - main - ipfcomp: remove set-but-not-unused vars
Message-ID:  <202112110553.1BB5rESE059274@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=fe5b077c9efcbcc9e92d0d7d877d1e16afc563ce

commit fe5b077c9efcbcc9e92d0d7d877d1e16afc563ce
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-11 04:56:10 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-11 05:52:54 +0000

    ipfcomp: remove set-but-not-unused vars
    
    MFC after:      3 days
---
 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?202112110553.1BB5rESE059274>