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

This commit is contained in:
harti 2004-01-09 11:25:14 +00:00
parent d6fe6047fb
commit a55b3534bd

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