fix(freertos): fix GCC 14 analyzer warnings

This commit is contained in:
Alexey Lapshin 2024-09-04 11:08:28 +07:00
parent 06fdb02435
commit 725b9ec81e

View File

@ -249,7 +249,7 @@ else()
idf_component_optional_requires(PRIVATE esp_pm)
endif()
if(CONFIG_IDF_TARGET_ESP32P4 AND NOT CONFIG_FREERTOS_SMP AND
if(NOT CONFIG_FREERTOS_SMP AND
CONFIG_COMPILER_STATIC_ANALYZER AND CMAKE_C_COMPILER_ID STREQUAL "GNU") # suppress false-positive warning
set_source_files_properties(
"${kernel_impl}/queue.c"