mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 23:15:37 +00:00
Silence some unsed variable warnings.
This commit is contained in:
parent
02aaf12f48
commit
6e62b6090b
@ -1058,7 +1058,9 @@ tcp_free_acked_segments(struct tcp_pcb *pcb, struct tcp_seg *seg_list, const cha
|
||||
static void
|
||||
tcp_receive(struct tcp_pcb *pcb)
|
||||
{
|
||||
#if TCP_QUEUE_OOSEQ || TCP_OOSEQ_MAX_BYTES || TCP_OOSEQ_MAX_PBUFS
|
||||
struct tcp_seg *next;
|
||||
#endif
|
||||
#if TCP_QUEUE_OOSEQ
|
||||
struct tcp_seg *prev, *cseg;
|
||||
#endif /* TCP_QUEUE_OOSEQ */
|
||||
|
@ -390,7 +390,7 @@ void tcp_backlog_accepted(struct tcp_pcb* pcb);
|
||||
#define tcp_backlog_delayed(pcb)
|
||||
#define tcp_backlog_accepted(pcb)
|
||||
#endif /* TCP_LISTEN_BACKLOG */
|
||||
#define tcp_accepted(pcb) /* compatibility define, not needed any more */
|
||||
#define tcp_accepted(pcb) { (void)pcb; } /* compatibility define, not needed any more */
|
||||
|
||||
void tcp_recved (struct tcp_pcb *pcb, u16_t len);
|
||||
err_t tcp_bind (struct tcp_pcb *pcb, const ip_addr_t *ipaddr,
|
||||
|
Loading…
Reference in New Issue
Block a user