diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-15 22:09:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-19 05:51:10 -0500 |
commit | 1857c9f587a93d715de815af4a76bb6f6b17810a (patch) | |
tree | cc28a0a41d1e13666aebb8e843c776dd60cdc962 /sim/cris/sim-if.c | |
parent | 303dc26d24b0c9e61d3193678b12336e68dbf3eb (diff) | |
download | gdb-1857c9f587a93d715de815af4a76bb6f6b17810a.zip gdb-1857c9f587a93d715de815af4a76bb6f6b17810a.tar.gz gdb-1857c9f587a93d715de815af4a76bb6f6b17810a.tar.bz2 |
sim: cris: fix -Wunused-variable warnings
Diffstat (limited to 'sim/cris/sim-if.c')
-rw-r--r-- | sim/cris/sim-if.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/cris/sim-if.c b/sim/cris/sim-if.c index 12baafb..0680368 100644 --- a/sim/cris/sim-if.c +++ b/sim/cris/sim-if.c @@ -338,7 +338,6 @@ static void cris_offset_sections (SIM_DESC sd, int offset) { struct bfd *abfd = STATE_PROG_BFD (sd); - asection *text; struct offsetinfo oi; /* Only happens for usage error. */ @@ -499,7 +498,6 @@ static bfd_boolean cris_handle_interpreter (SIM_DESC sd, struct bfd *abfd) { int i, n_hdrs; - bfd_byte buf[4]; char *interp = NULL; struct bfd *ibfd; bfd_boolean ok = FALSE; |