Kiyoshi Hayakawa / lwip_t

Fork of lwip by mbed official

Revision:
14:6f5eba4163ea
Parent:
3:9a63dd787415
--- a/core/pbuf.c	Sat Sep 28 15:58:36 2013 +0000
+++ b/core/pbuf.c	Sat Sep 28 16:11:28 2013 +0000
@@ -998,6 +998,8 @@
   }
   err = pbuf_copy(q, p);
   LWIP_ASSERT("pbuf_copy failed", err == ERR_OK);
+  /* next line references err variable even if LWIP_ASSERT is ignored. */
+  (void)err;
   pbuf_free(p);
   return q;
 }