Fixed compilation for NO_SYS==1

This commit is contained in:
goldsimon 2010-02-09 17:41:34 +00:00
parent b1250f003d
commit a668a4e4d1

View File

@ -583,7 +583,6 @@ netif_loop_output(struct netif *netif, struct pbuf *p,
#if LWIP_LOOPBACK_MAX_PBUFS
u8_t clen = 0;
#endif /* LWIP_LOOPBACK_MAX_PBUFS */
SYS_ARCH_DECL_PROTECT(lev);
/* If we have a loopif, SNMP counters are adjusted for it,
* if not they are adjusted for 'netif'. */
#if LWIP_HAVE_LOOPIF
@ -591,6 +590,7 @@ netif_loop_output(struct netif *netif, struct pbuf *p,
#else /* LWIP_HAVE_LOOPIF */
struct netif *stats_if = netif;
#endif /* LWIP_HAVE_LOOPIF */
SYS_ARCH_DECL_PROTECT(lev);
LWIP_UNUSED_ARG(ipaddr);
/* Allocate a new pbuf */