From 9a4c66006e755620427e6efaa65e896a5f7d2eda Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 3 Mar 2016 22:55:42 +0100 Subject: [PATCH] Fix compile error in raw.c (possible unused arg) --- src/core/raw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/raw.c b/src/core/raw.c index a37a6ea2..82ce4e3a 100644 --- a/src/core/raw.c +++ b/src/core/raw.c @@ -470,6 +470,8 @@ raw_new_ip_type(u8_t type, u8_t proto) IP_SET_TYPE_VAL(pcb->local_ip, type); IP_SET_TYPE_VAL(pcb->remote_ip, type); } +#else /* LWIP_IPV4 && LWIP_IPV6 */ + LWIP_UNUSED_ARG(type); #endif /* LWIP_IPV4 && LWIP_IPV6 */ return pcb; }