Added #ifdef around label (yes, ugly) to avoid compiler warning with UIP_UDP == 0

This commit is contained in:
adamdunkels 2007-11-28 12:53:07 +00:00
parent 6e228f7a79
commit b003f32e27

View File

@ -41,7 +41,7 @@
*
* This file is part of the uIP TCP/IP stack.
*
* $Id: uip.c,v 1.8 2007/04/04 11:37:40 bg- Exp $
* $Id: uip.c,v 1.9 2007/11/28 12:53:07 adamdunkels Exp $
*
*/
@ -1828,7 +1828,9 @@ uip_process(u8_t flag)
BUF->tcpchksum = 0;
BUF->tcpchksum = ~(uip_tcpchksum());
#if UIP_UDP
ip_send_nolen:
#endif /* UIP_UDP */
#if UIP_CONF_IPV6
BUF->vtc = 0x60;