mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Silence unused variable warning in the !KLD_MODULE case.
Submitted by: archie
This commit is contained in:
parent
71717f5def
commit
364efeccb0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90493
@ -2147,7 +2147,9 @@ ipfw_modevent(module_t mod, int type, void *unused)
|
|||||||
{
|
{
|
||||||
int s;
|
int s;
|
||||||
int err = 0 ;
|
int err = 0 ;
|
||||||
|
#if defined(KLD_MODULE)
|
||||||
struct ip_fw *fcp;
|
struct ip_fw *fcp;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case MOD_LOAD:
|
case MOD_LOAD:
|
||||||
|
Loading…
Reference in New Issue
Block a user