mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
Minor fix (warning, linker helper) signaled by Bill Florac
This commit is contained in:
parent
f0b33f5ced
commit
b8b04271b5
@ -421,6 +421,7 @@ do_newconn(struct api_msg_msg *msg)
|
||||
TCPIP_APIMSG_ACK(msg);
|
||||
}
|
||||
|
||||
#if LWIP_TCP
|
||||
static void
|
||||
do_close_internal(struct netconn *conn)
|
||||
{
|
||||
@ -458,6 +459,7 @@ do_close_internal(struct netconn *conn)
|
||||
/* If closing didn't succeed, we get called again either
|
||||
from poll_tcp or from sent_tcp */
|
||||
}
|
||||
#endif /* LWIP_TCP */
|
||||
|
||||
/**
|
||||
* Delete the pcb inside a netconn.
|
||||
|
@ -559,6 +559,8 @@ etharp_find_addr(struct netif *netif, struct ip_addr *ipaddr,
|
||||
{
|
||||
s8_t i;
|
||||
|
||||
LWIP_UNUSED_ARG(netif);
|
||||
|
||||
#if LWIP_NETIF_HWADDRHINT
|
||||
i = find_entry(ipaddr, ETHARP_FIND_ONLY, NULL);
|
||||
#else /* LWIP_NETIF_HWADDRHINT */
|
||||
|
Loading…
Reference in New Issue
Block a user