Explorar o código

lwip: Fix warning.

Ambroz Bizjak %!s(int64=11) %!d(string=hai) anos
pai
achega
854e1bb854
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      lwip/src/core/ipv6/nd6.c

+ 4 - 1
lwip/src/core/ipv6/nd6.c

@@ -621,7 +621,10 @@ nd6_input(struct pbuf *p, struct netif *inp)
 void
 nd6_tmr(void)
 {
-  s8_t i, j;
+  s8_t i;
+#if LWIP_IPV6_AUTOCONFIG
+  s8_t j;
+#endif
   struct netif * netif;
 
   /* Process neighbor entries. */