mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
patch #9249: tcp: Fix unused parameter 'dest' build warning if !LWIP_IPV6
Apply modified version of Axel Lin's patch, without #ifdef
This commit is contained in:
parent
ef758082ed
commit
d857344aa8
@ -1912,6 +1912,8 @@ tcp_eff_send_mss_netif(u16_t sendmss, struct netif *outif, const ip_addr_t *dest
|
||||
u16_t mss_s;
|
||||
s16_t mtu;
|
||||
|
||||
LWIP_UNUSED_ARG(dest); /* in case IPv6 is disabled */
|
||||
|
||||
#if LWIP_IPV6
|
||||
#if LWIP_IPV4
|
||||
if (IP_IS_V6(dest))
|
||||
|
Loading…
Reference in New Issue
Block a user