mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 13:34:38 +08:00
Fix compile error in raw.c (possible unused arg)
This commit is contained in:
parent
1c52780b62
commit
9a4c66006e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user