diff --git a/Demo/ARM9_AT91SAM9XE_IAR/main.c b/Demo/ARM9_AT91SAM9XE_IAR/main.c index d8f64c3b45..2229a39491 100644 --- a/Demo/ARM9_AT91SAM9XE_IAR/main.c +++ b/Demo/ARM9_AT91SAM9XE_IAR/main.c @@ -130,6 +130,9 @@ static void prvCheckTask( void * pvParameters ) portTickType xNextWakeTime, xPeriod = mainNO_ERROR_PERIOD; static volatile unsigned portLONG ulErrorCode = 0UL; + /* Just to remove the compiler warning. */ + ( void ) pvParameters; + /* Initialise xNextWakeTime prior to its first use. From this point on the value of the variable is handled automatically by the kernel. */ xNextWakeTime = xTaskGetTickCount();