mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Allocate struct tcp_seg *prev, *cseg only if TCP_QUEUE_OOSEQ is defined.
This commit is contained in:
parent
950f2d0f2f
commit
9ede36a386
@ -594,7 +594,10 @@ tcp_process(struct tcp_pcb *pcb)
|
||||
static void
|
||||
tcp_receive(struct tcp_pcb *pcb)
|
||||
{
|
||||
struct tcp_seg *next, *prev, *cseg;
|
||||
struct tcp_seg *next;
|
||||
#if TCP_QUEUE_OOSEQ
|
||||
struct tcp_seg *prev, *cseg;
|
||||
#endif
|
||||
struct pbuf *p;
|
||||
s32_t off;
|
||||
int m;
|
||||
|
Loading…
Reference in New Issue
Block a user