KEIS
Fork of lwip by
Revision 13:931deec14b08, committed 2013-09-10
- Comitter:
- bogdanm
- Date:
- Tue Sep 10 15:14:39 2013 +0300
- Parent:
- 12:4b3f6f8b92d2
- Commit message:
- Sync with git revision 171dda705c947bf910926a0b73d6a4797802554d
Changed in this revision
core/pbuf.c | Show annotated file Show diff for this revision Revisions of this file |
lwipopts.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4b3f6f8b92d2 -r 931deec14b08 core/pbuf.c --- a/core/pbuf.c Mon Aug 19 18:37:54 2013 +0300 +++ b/core/pbuf.c Tue Sep 10 15:14:39 2013 +0300 @@ -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; }
diff -r 4b3f6f8b92d2 -r 931deec14b08 lwipopts.h --- a/lwipopts.h Mon Aug 19 18:37:54 2013 +0300 +++ b/lwipopts.h Tue Sep 10 15:14:39 2013 +0300 @@ -27,6 +27,8 @@ #if NO_SYS == 0 #include "cmsis_os.h" +#define SYS_LIGHTWEIGHT_PROT 1 + #define LWIP_RAW 0 #define TCPIP_MBOX_SIZE 8 @@ -99,6 +101,7 @@ #define MEMP_OVERFLOW_CHECK 1 #define MEMP_SANITY_CHECK 1 #else +#define LWIP_NOASSERT 1 #define LWIP_STATS 0 #endif