]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/MemMang/heap_2.c
Cast away a few unused return types to ensure lint/compilers don't generate warnings...
[freertos] / FreeRTOS / Source / portable / MemMang / heap_2.c
index 5b2564cdd9d38fe1bb3746d4c2b1207c4f2dcaaf..0ed9648f5b17f3dce355a746f38ea5e1c4c9d26d 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
@@ -218,7 +218,7 @@ void *pvReturn = NULL;
 \r
                traceMALLOC( pvReturn, xWantedSize );\r
        }\r
-       xTaskResumeAll();\r
+       ( void ) xTaskResumeAll();\r
 \r
        #if( configUSE_MALLOC_FAILED_HOOK == 1 )\r
        {\r
@@ -256,7 +256,7 @@ BlockLink_t *pxLink;
                        xFreeBytesRemaining += pxLink->xBlockSize;\r
                        traceFREE( pv, pxLink->xBlockSize );\r
                }\r
-               xTaskResumeAll();\r
+               ( void ) xTaskResumeAll();\r
        }\r
 }\r
 /*-----------------------------------------------------------*/\r