sim: iq2000: fix -Wunused-variable warnings

This commit is contained in:
Mike Frysinger
2023-12-16 00:13:17 -05:00
parent 04a33b24eb
commit ef2022265b
2 changed files with 0 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);