net: uip: Avoid unused label compile warning

The process: label is only used if we are a router so add
ifdef guard.

Change-Id: Ib88d4e4d70b049541480a6e9dd9d68911543ff50
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2015-06-12 16:10:48 +03:00 committed by Anas Nashif
commit 19fe2ff93d

View file

@ -1287,8 +1287,10 @@ uip_process(struct net_buf *buf, uint8_t flag)
uip_ext_bitmap(buf) = 0;
#endif /* UIP_CONF_ROUTER */
#if UIP_CONF_ROUTER
#if UIP_CONF_IPV6_MULTICAST
process:
#endif
#endif
while(1) {