The branch main has been updated by cy:

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

commit edcdd4f6445ad50c8f7c6e974d0216c5be9356d5
Author:     Cy Schubert <[email protected]>
AuthorDate: 2021-12-11 04:51:01 +0000
Commit:     Cy Schubert <[email protected]>
CommitDate: 2021-12-11 05:52:54 +0000

    ipfilter printfieldhdr: remove set-but-not-unused vars
    
    MFC after:      3 days
---
 contrib/ipfilter/lib/printfieldhdr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/contrib/ipfilter/lib/printfieldhdr.c 
b/contrib/ipfilter/lib/printfieldhdr.c
index 3cc22a655a63..f796f6fed62f 100644
--- a/contrib/ipfilter/lib/printfieldhdr.c
+++ b/contrib/ipfilter/lib/printfieldhdr.c
@@ -16,10 +16,9 @@ printfieldhdr(words, field)
 {
        wordtab_t *w;
        char *s, *t;
-       int i;
 
        if (field->w_value == -2) {
-               for (i = 0, w = words; w->w_word != NULL; ) {
+               for (w = words; w->w_word != NULL; ) {
                        if (w->w_value > 0) {
                                printfieldhdr(words, w);
                                w++;

Reply via email to