diff --git a/tasks.c b/tasks.c index d54815517..99f43eaeb 100644 --- a/tasks.c +++ b/tasks.c @@ -3208,7 +3208,6 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode, #if ( configNUMBER_OF_CORES == 1 ) { - UBaseType_t uxCurrentListLength; if( xSchedulerRunning != pdFALSE ) @@ -3226,7 +3225,6 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode, mtCOVERAGE_TEST_MARKER(); } - if( pxTCB == pxCurrentTCB ) { if( xSchedulerRunning != pdFALSE )