Fixed complier error for CHECKSUM_CHECK_TCP==0

This commit is contained in:
Simon Goldschmidt 2011-07-28 21:59:28 +02:00
parent c9e1d6cca8
commit f4c0018d7a

View File

@ -104,7 +104,9 @@ tcp_input(struct pbuf *p, struct netif *inp)
#endif /* SO_REUSE */
u8_t hdrlen;
err_t err;
#if CHECKSUM_CHECK_TCP
u16_t chksum;
#endif /* CHECKSUM_CHECK_TCP */
PERF_START;