git: 9018f7fa45c0 - main - ipft_tx: remove set-but-not-unused vars
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Dec 2021 05:53:12 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=9018f7fa45c0bc66cfdd4496e695218be3d37a33
commit 9018f7fa45c0bc66cfdd4496e695218be3d37a33
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-12-11 04:49:22 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-11 05:52:54 +0000
ipft_tx: remove set-but-not-unused vars
MFC after: 3 days
---
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)) {