[05/15] sim: cris: fix -Wshadow=local warnings
Checks
Commit Message
Delete redundant local decls.
---
sim/cris/mloop.in | 1 -
sim/cris/sim-if.c | 1 -
2 files changed, 2 deletions(-)
@@ -234,7 +234,6 @@ cat <<EOF
for invalid programs. */
if (insn != 0 && CGEN_ATTR_VALUE (NULL, idesc->attrs, CGEN_INSN_DELAY_SLOT))
{
- UHI insn;
trace_p = PC_IN_TRACE_RANGE_P (current_cpu, pc);
profile_p = PC_IN_PROFILE_RANGE_P (current_cpu, pc);
befaft_p = profile_p || trace_p;
@@ -761,7 +761,6 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
int len = strlen (name) + 1;
USI epp, epp0;
USI stacklen;
- int i;
char **prog_argv = STATE_PROG_ARGV (sd);
int my_argc = 0;
USI csp;