From a7bcdf4398af75d1f0f79e729909faecc7382e48 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Thu, 31 Dec 2009 16:51:17 +0000 Subject: [PATCH] Remove warning for TCP_LISTEN_BACKLOG==0 --- src/include/lwip/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/tcp.h b/src/include/lwip/tcp.h index c88d25d7..0469ce7a 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -85,7 +85,7 @@ void tcp_err (struct tcp_pcb *pcb, #if TCP_LISTEN_BACKLOG #define tcp_accepted(pcb) (((struct tcp_pcb_listen *)(pcb))->accepts_pending--) #else /* TCP_LISTEN_BACKLOG */ -#define tcp_accepted(pcb) +#define tcp_accepted(pcb) LWIP_UNUSED_ARG(pcb); #endif /* TCP_LISTEN_BACKLOG */ void tcp_recved (struct tcp_pcb *pcb, u16_t len);