]> git.sur5r.net Git - freertos/commitdiff
Add brackets in lwIP assert statement to prevent compiler warnings.
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 23 May 2014 16:36:49 +0000 (16:36 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 23 May 2014 16:36:49 +0000 (16:36 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2243 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/include/lwip/debug.h

index d8359ea3a53f32bfc8d49c63754a157ecc50ce4a..1950a3e2eb8648630b0a06028ca2fb272c1ed4f9 100644 (file)
@@ -63,7 +63,7 @@
 
 #ifndef LWIP_NOASSERT
 #define LWIP_ASSERT(message, assertion) do { if(!(assertion)) \
-  LWIP_PLATFORM_ASSERT(message); } while(0)
+       { LWIP_PLATFORM_ASSERT(message); } } while(0)
 #else  /* LWIP_NOASSERT */
 #define LWIP_ASSERT(message, assertion) 
 #endif /* LWIP_NOASSERT */