diff --git a/tasks.c b/tasks.c index 8f691d117..f5d031227 100644 --- a/tasks.c +++ b/tasks.c @@ -3727,7 +3727,10 @@ void vTaskStartScheduler( void ) /* Setting up the timer tick is hardware specific and thus in the * portable interface. */ - xPortStartScheduler(); + + /* The return value for xPortStartScheduler is not required + * hence using a void datatype. */ + ( void ) xPortStartScheduler(); /* In most cases, xPortStartScheduler() will not return. If it * returns pdTRUE then there was not enough heap memory available