aboutsummaryrefslogtreecommitdiff
path: root/sim/iq2000
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-21 20:10:58 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-22 23:29:19 -0500
commit2d351bda2f0611ad16cd2ba8233fae0660f448d6 (patch)
treed65016b48aff1263017c0056645328536679213f /sim/iq2000
parenta42661395e9a4be81f5c22022dbb7e48cef30758 (diff)
downloadgdb-2d351bda2f0611ad16cd2ba8233fae0660f448d6.zip
gdb-2d351bda2f0611ad16cd2ba8233fae0660f448d6.tar.gz
gdb-2d351bda2f0611ad16cd2ba8233fae0660f448d6.tar.bz2
sim: iq2000: fix -Wshadow=local warnings
Delete redundant decls.
Diffstat (limited to 'sim/iq2000')
-rw-r--r--sim/iq2000/mloop.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/iq2000/mloop.in b/sim/iq2000/mloop.in
index 1d3df32..9ffa167 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))