Prevent compiler warning on unused function arguments.

This commit is contained in:
likewise
2003-04-15 12:41:52 +00:00
parent b68c91c973
commit 9ef5a61b1e
2 changed files with 3 additions and 0 deletions

View File

@@ -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 */