diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-16 00:13:17 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-19 05:51:10 -0500 |
commit | ef2022265bfbacc07a8593700dee6e80d5e010a4 (patch) | |
tree | 88a4af4077bf5d3ad6300ae30ac6efd78f54414f /sim | |
parent | 04a33b24eb48fb03807f84905887421253ab0b83 (diff) | |
download | fsf-binutils-gdb-ef2022265bfbacc07a8593700dee6e80d5e010a4.zip fsf-binutils-gdb-ef2022265bfbacc07a8593700dee6e80d5e010a4.tar.gz fsf-binutils-gdb-ef2022265bfbacc07a8593700dee6e80d5e010a4.tar.bz2 |
sim: iq2000: fix -Wunused-variable warnings
Diffstat (limited to 'sim')
-rw-r--r-- | sim/iq2000/iq2000.c | 1 | ||||
-rw-r--r-- | sim/iq2000/sim-if.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sim/iq2000/iq2000.c b/sim/iq2000/iq2000.c index 1b43c12..087646b 100644 --- a/sim/iq2000/iq2000.c +++ b/sim/iq2000/iq2000.c @@ -58,7 +58,6 @@ do_syscall (SIM_CPU *current_cpu, PCADDR pc) int syscall = H2T_4 (iq2000bf_h_gr_get (current_cpu, 11)); #endif int syscall_function = iq2000bf_h_gr_get (current_cpu, 4); - int i; char *buf; int PARM1 = iq2000bf_h_gr_get (current_cpu, 5); int PARM2 = iq2000bf_h_gr_get (current_cpu, 6); diff --git a/sim/iq2000/sim-if.c b/sim/iq2000/sim-if.c index a2331a1..3fe3bbf 100644 --- a/sim/iq2000/sim-if.c +++ b/sim/iq2000/sim-if.c @@ -59,7 +59,6 @@ SIM_DESC sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd, char * const *argv) { - char c; int i; SIM_DESC sd = sim_state_alloc (kind, callback); |