在编译到tcp_out.c文件时 总是出现这样的警告
warning: #550-D: variable "tcphdr" was set but never used
err_t
tcp_output(struct tcp_
PCB *pcb)
{
struct pbuf *p;
struct tcp_hdr
*tcphdr;
struct tcp_seg *seg, *useg;
u32_t wnd, snd_nxt;
#if TCP_CWND_DEBUG
s16_t i = 0;
#endif /* TCP_CWND_DEBUG */
u8_t optlen = 0;
程序中有用到的啊,为什么会出现这样的警告?