forked from espressif/esp-idf
freertos: silence the static analysis warning referencing the workitem
This commit is contained in:
@@ -649,7 +649,7 @@ void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority )
|
|||||||
BaseType_t i;
|
BaseType_t i;
|
||||||
|
|
||||||
if (xCoreID != tskNO_AFFINITY) {
|
if (xCoreID != tskNO_AFFINITY) {
|
||||||
if ( curTCB->uxPriority < uxPriority ) {
|
if ( curTCB->uxPriority < uxPriority ) { // NOLINT(clang-analyzer-core.NullDereference) IDF-685
|
||||||
vPortYieldOtherCore( xCoreID );
|
vPortYieldOtherCore( xCoreID );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user