diff options
author | dd <dd@FreeBSD.org> | 2001-11-27 20:32:47 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-11-27 20:32:47 +0000 |
commit | 2c2a10067f77ac58d57db94231880b93df6a8415 (patch) | |
tree | 3ea0730b05773eb86adb6cba3010c6847ba68555 /sys | |
parent | 371e36e76a396b58de55aed000d2338d49adac2a (diff) | |
download | FreeBSD-src-2c2a10067f77ac58d57db94231880b93df6a8415.zip FreeBSD-src-2c2a10067f77ac58d57db94231880b93df6a8415.tar.gz |
ipfw_modevent(): Don't use an unnatural block to define a variable
(fcp) that's already defined in the outer block and isn't used
anywhere else. This silences -Wunused.
Reviewed by: md5(1)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_fw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index 1390662..9cfc7c2 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -2166,11 +2166,8 @@ ipfw_modevent(module_t mod, int type, void *unused) s = splimp(); ip_fw_chk_ptr = NULL ; ip_fw_ctl_ptr = NULL ; - { - struct ip_fw *fcp; while ( (fcp = LIST_FIRST(&ip_fw_chain_head)) != NULL) free_chain(fcp); - } splx(s); printf("IP firewall unloaded\n"); #endif |