1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Fix a warning when NATM is not defined. In this case s is not used.

This commit is contained in:
Hartmut Brandt 2004-01-09 11:25:14 +00:00
parent f0477b2653
commit 5361744dfa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124283

View File

@ -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);