From a65dcea7cecdcbc981500af8bdda8f34eccf6a01 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Fri, 2 Mar 2018 11:24:54 -0800 Subject: [PATCH] uip6.c: label 'process' is only used when multicast AND routing are set --- os/net/ipv6/uip6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/net/ipv6/uip6.c b/os/net/ipv6/uip6.c index de14486b9..e913a83e1 100644 --- a/os/net/ipv6/uip6.c +++ b/os/net/ipv6/uip6.c @@ -1256,9 +1256,9 @@ uip_process(uint8_t flag) uip_ext_bitmap = 0; #endif /* UIP_CONF_ROUTER */ -#if UIP_IPV6_MULTICAST +#if UIP_IPV6_MULTICAST && UIP_CONF_ROUTER process: -#endif +#endif /* UIP_IPV6_MULTICAST && UIP_CONF_ROUTER */ while(1) { switch(*uip_next_hdr){