Fix unused variable warning in if_pfsync.c
authorDimitry Andric <dim@FreeBSD.org>
Mon, 25 Jul 2022 18:15:51 +0000 (20:15 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Mon, 25 Jul 2022 18:53:48 +0000 (20:53 +0200)
commitfb48e998501f8d1defecffb772121a4141cdc2b6
treeb151c8611b33c5fb0feaab7b14c75d567ff7bf7b
parent503b5870c018ec342be1396896560b720945d7e5
Fix unused variable warning in if_pfsync.c

With clang 15, the following -Werror warning is produced:

    sys/netpfil/pf/if_pfsync.c:2153:9: error: variable 'sent' set but not used [-Werror,-Wunused-but-set-variable]
            int i, sent = 0;
                   ^

The 'sent' variable was used in the for loop later in the
pfsync_bulk_update() function, but refactoring in 4fc65bcbe3fb7 got rid
of it. Remove the variable since it no longer serves any purpose.

MFC after: 3 days
sys/netpfil/pf/if_pfsync.c