fix(components): initialize srcs variable to prevent scope leakage

This commit is contained in:
Sudeep Mohanty
2026-05-21 10:05:47 +02:00
parent 8f202ad7e8
commit 6e3fae60fc
4 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -4,8 +4,9 @@ if(${target} STREQUAL "linux")
return()
endif()
set(srcs)
if(CONFIG_ESP_TRACE_ENABLE)
set(srcs
list(APPEND srcs
"src/core/esp_trace_core.c"
"src/core/esp_trace_registry.c"
"src/ports/port_utils.c"