Cast away a few unused return types to ensure lint/compilers don't generate warnings when the warning level is high.

This commit is contained in:
Richard Barry 2014-02-23 20:01:07 +00:00
parent c8953a68cd
commit 9bd5e5cf03
5 changed files with 14 additions and 14 deletions

View file

@ -271,7 +271,7 @@ void *pvReturn = NULL;
traceMALLOC( pvReturn, xWantedSize );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
#if( configUSE_MALLOC_FAILED_HOOK == 1 )
{
@ -322,9 +322,9 @@ BlockLink_t *pxLink;
/* Add this block to the list of free blocks. */
xFreeBytesRemaining += pxLink->xBlockSize;
traceFREE( pv, pxLink->xBlockSize );
prvInsertBlockIntoFreeList( ( ( BlockLink_t * ) pxLink ) );
prvInsertBlockIntoFreeList( ( ( BlockLink_t * ) pxLink ) );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
}
else
{