From 37434ffd77cc6b38fb4832b5f38cc42eeeade888 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Fri, 5 Jan 2018 13:05:33 -0800 Subject: [PATCH] Rename dummy variable to be correct. Change-Id: I329404894227bb3cf563382e1adf0edda702543b --- src/target/riscv/riscv-013.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 3d826801e..1cb820baa 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -565,8 +565,8 @@ static int execute_abstract_command(struct target *target, uint32_t command) dmi_write(target, DMI_COMMAND, command); { - uint32_t dmstatus = 0; - wait_for_idle(target, &dmstatus); + uint32_t abstractcs = 0; + wait_for_idle(target, &abstractcs); } uint32_t cs = dmi_read(target, DMI_ABSTRACTCS);