Skip to content

Commit

Permalink
target/xtensa: Fix build warning.
Browse files Browse the repository at this point in the history
Change-Id: I9ee69807bec729480dd94da874fe1771d8f06078
Signed-off-by: Tim Newsome <[email protected]>
  • Loading branch information
timsifive committed Sep 12, 2023
1 parent 8c1f1b7 commit fb26f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/xtensa/xtensa.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ static int xtensa_write_dirty_registers(struct target *target)
xtensa_reg_val_t a3 = 0, woe;
unsigned int ms_idx = (xtensa->core_config->core_type == XT_NX) ?
xtensa->nx_reg_idx[XT_NX_REG_IDX_MS] : reg_list_size;
xtensa_reg_val_t ms;
xtensa_reg_val_t ms = 0;
bool restore_ms = false;

LOG_TARGET_DEBUG(target, "start");
Expand Down

0 comments on commit fb26f4f

Please sign in to comment.