mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(components): initialize srcs variable to prevent scope leakage
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user