freertos: silence the static analysis warning referencing the workitem

This commit is contained in:
David Cermak 2019-11-04 16:17:02 +01:00
parent 9b821ddd6b
commit 2e28ab29c7

View file

@ -649,7 +649,7 @@ void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority )
BaseType_t i;
if (xCoreID != tskNO_AFFINITY) {
if ( curTCB->uxPriority < uxPriority ) {
if ( curTCB->uxPriority < uxPriority ) { // NOLINT(clang-analyzer-core.NullDereference) IDF-685
vPortYieldOtherCore( xCoreID );
}
}