summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.c
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-02-10 22:22:05 +0000
committerdd <dd@FreeBSD.org>2002-02-10 22:22:05 +0000
commit336de67dc798bf96317abe10b90898e1dde2db55 (patch)
treef7e1a28e4c6de0699d26a1b0f2e7f345a7f7884b /sys/netinet/ip_fw.c
parent63577134263d24b27c3986750d5da359f6f579d1 (diff)
downloadFreeBSD-src-336de67dc798bf96317abe10b90898e1dde2db55.zip
FreeBSD-src-336de67dc798bf96317abe10b90898e1dde2db55.tar.gz
Silence unused variable warning in the !KLD_MODULE case.
Submitted by: archie
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r--sys/netinet/ip_fw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index d98112d..b176512 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -2147,7 +2147,9 @@ ipfw_modevent(module_t mod, int type, void *unused)
{
int s;
int err = 0 ;
+#if defined(KLD_MODULE)
struct ip_fw *fcp;
+#endif
switch (type) {
case MOD_LOAD:
OpenPOWER on IntegriCloud