mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 08:33:39 +08:00
Prevent compiler warning on unused function arguments.
This commit is contained in:
@@ -293,6 +293,7 @@ tcp_bind(struct tcp_pcb *pcb, struct ip_addr *ipaddr, u16_t port)
|
||||
static err_t
|
||||
tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err)
|
||||
{
|
||||
if (arg || pcb || err);
|
||||
return ERR_ABRT;
|
||||
}
|
||||
#endif /* LWIP_CALLBACK_API */
|
||||
|
||||
Reference in New Issue
Block a user