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

@ -292,7 +292,7 @@ CRCB_t *pxCRCB;
have been moved to the pending ready list and the following
line is still valid. Also the pvContainer parameter will have
been set to NULL so the following lines are also valid. */
uxListRemove( &( pxCRCB->xGenericListItem ) );
( void ) uxListRemove( &( pxCRCB->xGenericListItem ) );
/* Is the co-routine waiting on an event also? */
if( pxCRCB->xEventListItem.pvContainer )

View file

@ -126,7 +126,7 @@ static uint8_t *pucAlignedHeap = NULL;
traceMALLOC( pvReturn, xWantedSize );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
#if( configUSE_MALLOC_FAILED_HOOK == 1 )
{

View file

@ -218,7 +218,7 @@ void *pvReturn = NULL;
traceMALLOC( pvReturn, xWantedSize );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
#if( configUSE_MALLOC_FAILED_HOOK == 1 )
{
@ -256,7 +256,7 @@ BlockLink_t *pxLink;
xFreeBytesRemaining += pxLink->xBlockSize;
traceFREE( pv, pxLink->xBlockSize );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
}
}
/*-----------------------------------------------------------*/

View file

@ -98,7 +98,7 @@ void *pvReturn;
pvReturn = malloc( xWantedSize );
traceMALLOC( pvReturn, xWantedSize );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
#if( configUSE_MALLOC_FAILED_HOOK == 1 )
{
@ -123,7 +123,7 @@ void vPortFree( void *pv )
free( pv );
traceFREE( pv, 0 );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
}
}

View file

@ -271,7 +271,7 @@ void *pvReturn = NULL;
traceMALLOC( pvReturn, xWantedSize );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
#if( configUSE_MALLOC_FAILED_HOOK == 1 )
{
@ -324,7 +324,7 @@ BlockLink_t *pxLink;
traceFREE( pv, pxLink->xBlockSize );
prvInsertBlockIntoFreeList( ( ( BlockLink_t * ) pxLink ) );
}
xTaskResumeAll();
( void ) xTaskResumeAll();
}
else
{