From 265f6f5047f750483f62c691a0b7bddefd0b2cbc Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sun, 25 Feb 2018 12:05:24 +0800 Subject: [PATCH] lowpan6_ble: Fix build warning if LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS==0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix unused parameter ‘public_addr’ build warning if LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS==0. Signed-off-by: Axel Lin --- src/netif/lowpan6_ble.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/netif/lowpan6_ble.c b/src/netif/lowpan6_ble.c index a64353aa..f58e7ff0 100644 --- a/src/netif/lowpan6_ble.c +++ b/src/netif/lowpan6_ble.c @@ -116,6 +116,8 @@ void ble_addr_to_eui64(uint8_t *dst, uint8_t *src, uint8_t public_addr) } else { dst[0] |= 0x02; } +#else + LWIP_UNUSED_ARG(public_addr); #endif }