From 2e28ab29c7203095674c5213c3e536b75e00c0cc Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 4 Nov 2019 16:17:02 +0100 Subject: [PATCH] freertos: silence the static analysis warning referencing the workitem --- components/freertos/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/freertos/tasks.c b/components/freertos/tasks.c index c057cb4c0c..5290168542 100644 --- a/components/freertos/tasks.c +++ b/components/freertos/tasks.c @@ -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 ); } }