git: fe5b077c9efc - main - ipfcomp: remove set-but-not-unused vars
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Dec 2021 05:53:14 UTC
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");