git: 553a6bbba5fc - stable/12 - ipfcomp: remove set-but-not-unused vars

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 14 Dec 2021 01:22:06 UTC
The branch stable/12 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=553a6bbba5fccc78e9e54ade09b956bd260be10f

commit 553a6bbba5fccc78e9e54ade09b956bd260be10f
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:18:49 +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");