]> git.sur5r.net Git - freertos/commitdiff
Remove compiler warning.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 29 May 2009 14:32:38 +0000 (14:32 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 29 May 2009 14:32:38 +0000 (14:32 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@746 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/Common/ethernet/uIP/uip-1.0/uip/uip.c

index 803ec5654c4a610bf3973bb1fdd35f24bb625d48..f1f56baa960ec5bf8fd3e28a89c5dff74ef7703d 100644 (file)
@@ -1851,8 +1851,10 @@ uip_process(u8_t flag)
   BUF->tcpchksum = 0;\r
   BUF->tcpchksum = ~(uip_tcpchksum());\r
 \r
+#if UIP_UDP  \r
  ip_send_nolen:\r
-\r
+#endif /* UIP_UDP */\r
\r
 #if UIP_CONF_IPV6\r
   BUF->vtc = 0x60;\r
   BUF->tcflow = 0x00;\r