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; }