mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
18fcc1d504
I have below code in my cc.h: #ifdef MYSDK_LWIP_DEBUG #define LWIP_PLATFORM_ASSERT(x) MYSDK_ASSERTION_FAIL_ACTION() #else #define LWIP_PLATFORM_ASSERT(x) #endif /* ifdef MYSDK_LWIP_DEBUG */ I got below error when in non-debug build: src/include/lwip/debug.h:76:32: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] LWIP_PLATFORM_ASSERT(message); } while(0) ^ Fix the build error by adding braces around empty body in an 'if' statement. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: sg <goldsimon@gmx.de> |
||
---|---|---|
.. | ||
api | ||
apps | ||
core | ||
include | ||
netif | ||
Filelists.mk | ||
FILES |