Allocate struct tcp_seg *prev, *cseg only if TCP_QUEUE_OOSEQ is defined.

This commit is contained in:
likewise 2002-10-20 15:19:20 +00:00
parent 950f2d0f2f
commit 9ede36a386

View File

@ -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;