mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-26 09:35:23 +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
|
static void
|
||||||
tcp_receive(struct tcp_pcb *pcb)
|
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;
|
struct pbuf *p;
|
||||||
s32_t off;
|
s32_t off;
|
||||||
int m;
|
int m;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user