From 364efeccb09ea6e0426acca4fe71906ece1cd8e5 Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Sun, 10 Feb 2002 22:22:05 +0000
Subject: [PATCH] Silence unused variable warning in the !KLD_MODULE case.
Submitted by: archie
---
sys/netinet/ip_fw.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index d98112d3aae..b17651228e7 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: