diff options
author | harti <harti@FreeBSD.org> | 2004-01-09 11:25:14 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-01-09 11:25:14 +0000 |
commit | f96e7d110f8bb4e0a8cbc4adc7b9eb1406abe0f7 (patch) | |
tree | 711022cf2c4b00834d32123dfdbeb86637911b09 /sys | |
parent | f773ff17e42c65209e2a2e000de3c43c94166fd3 (diff) | |
download | FreeBSD-src-f96e7d110f8bb4e0a8cbc4adc7b9eb1406abe0f7.zip FreeBSD-src-f96e7d110f8bb4e0a8cbc4adc7b9eb1406abe0f7.tar.gz |
Fix a warning when NATM is not defined. In this case s is not used.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_atmsubr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index 4c8856e..f404984 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -252,7 +252,9 @@ atm_input(struct ifnet *ifp, struct atm_pseudohdr *ah, struct mbuf *m, { int isr; u_int16_t etype = ETHERTYPE_IP; /* default */ +#ifdef NATM int s; +#endif if ((ifp->if_flags & IFF_UP) == 0) { m_freem(m); |