This is an automated email from Gerrit. "Erhan Kurubas <erhan.kuru...@espressif.com>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7719
-- gerrit commit ce28d034f562d7dc133a87c05ea08f0ebdb87807 Author: Erhan Kurubas <erhan.kuru...@espressif.com> Date: Sun May 28 14:56:56 2023 +0300 target/espressif: fix clan scan-build warning Clang reports that 3rd function call argument is an uninitialized value file esp32_apptrace.c line:1270 Signed-off-by: Erhan Kurubas <erhan.kuru...@espressif.com> Change-Id: I73e254d4eb0c6b3152229717d8827d334784ab92 diff --git a/src/target/espressif/esp32_apptrace.c b/src/target/espressif/esp32_apptrace.c index 427f011700..884224116e 100644 --- a/src/target/espressif/esp32_apptrace.c +++ b/src/target/espressif/esp32_apptrace.c @@ -1252,7 +1252,7 @@ static int esp32_sysview_start(struct esp32_apptrace_cmd_ctx *ctx) { uint8_t cmds[] = { SEGGER_SYSVIEW_COMMAND_ID_START }; uint32_t fired_target_num = 0; - struct esp32_apptrace_target_state target_state[ESP32_APPTRACE_MAX_CORES_NUM]; + struct esp32_apptrace_target_state target_state[ESP32_APPTRACE_MAX_CORES_NUM] = {0}; struct esp32_sysview_cmd_data *cmd_data = ctx->cmd_priv; /* get current block id */ --