From 44fc5eaabca2e9bb090588da774816992596843a Mon Sep 17 00:00:00 2001 From: rtel Date: Fri, 23 May 2014 16:36:49 +0000 Subject: [PATCH] Add brackets in lwIP assert statement to prevent compiler warnings. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2243 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../Demo/Common/ethernet/lwip-1.4.0/src/include/lwip/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/include/lwip/debug.h b/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/include/lwip/debug.h index d8359ea3a..1950a3e2e 100644 --- a/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/include/lwip/debug.h +++ b/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/include/lwip/debug.h @@ -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 */ -- 2.39.5