[09/15] sim: iq2000: fix -Wshadow=local warnings

Message ID 20231222012355.7504-9-vapier@gentoo.org
State New
Headers
Series [01/15] sim: aarch64: fix -Wshadow=local warnings |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Mike Frysinger Dec. 22, 2023, 1:23 a.m. UTC
  Delete redundant decls.
---
 sim/iq2000/mloop.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/sim/iq2000/mloop.in b/sim/iq2000/mloop.in
index 1d3df32ee777..9ffa167de2e8 100644
--- a/sim/iq2000/mloop.in
+++ b/sim/iq2000/mloop.in
@@ -191,7 +191,7 @@  cat <<EOF
 
           if (CGEN_ATTR_VALUE (NULL, idesc->attrs, CGEN_INSN_DELAY_SLOT))
 	    {
-              USI insn = GETIMEMUSI (current_cpu, CPU2INSN(pc));
+              insn = GETIMEMUSI (current_cpu, CPU2INSN(pc));
 	      idesc = extract (current_cpu, pc, insn, &sc->argbuf, FAST_P);
 
               if (likely_cti && IDESC_CTI_P (idesc))