Explorar el Código

lwip: Fix warning.

Ambroz Bizjak hace 11 años
padre
commit
854e1bb854
Se han modificado 1 ficheros con 4 adiciones y 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. */