Remove compiler warnings.

pull/4/head
Richard Barry 17 years ago
parent c24a713859
commit 61a5a25a7f

@ -139,6 +139,9 @@ signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed portCHAR cOut
{ {
portBASE_TYPE xReturn = pdTRUE; portBASE_TYPE xReturn = pdTRUE;
/* Just to remove compiler warning. */
( void ) pxPort;
portENTER_CRITICAL(); portENTER_CRITICAL();
{ {
/* If the UART FIFO is full we can block posting the new data on the /* If the UART FIFO is full we can block posting the new data on the
@ -187,6 +190,9 @@ unsigned portLONG ulISRStatus;
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE, lDidSomething; portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE, lDidSomething;
portCHAR cChar; portCHAR cChar;
/* Just to remove compiler warning. */
( void ) pxUART;
do do
{ {
lDidSomething = pdFALSE; lDidSomething = pdFALSE;

Loading…
Cancel
Save