public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: iq2000: fix -Wunused-variable warnings
@ 2023-12-19 10:53 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2023-12-19 10:53 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef2022265bfbacc07a8593700dee6e80d5e010a4
commit ef2022265bfbacc07a8593700dee6e80d5e010a4
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sat Dec 16 00:13:17 2023 -0500
sim: iq2000: fix -Wunused-variable warnings
Diff:
---
sim/iq2000/iq2000.c | 1 -
sim/iq2000/sim-if.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sim/iq2000/iq2000.c b/sim/iq2000/iq2000.c
index 1b43c129573..087646b59b0 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 a2331a1e2fd..3fe3bbf1ae4 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-19 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-19 10:53 [binutils-gdb] sim: iq2000: fix -Wunused-variable warnings Michael Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).