Fix a warning when NATM is not defined. In this case s is not used.
This commit is contained in:
parent
d6fe6047fb
commit
a55b3534bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user