public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: microblaze: 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=96967be368c72d5945b792af48e40bb7cac0b979

commit 96967be368c72d5945b792af48e40bb7cac0b979
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Dec 15 22:44:27 2023 -0500

    sim: microblaze: fix -Wunused-variable warnings

Diff:
---
 sim/microblaze/interp.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index 5e701e56d40..00964386156 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -97,7 +97,6 @@ static void
 set_initial_gprs (SIM_CPU *cpu)
 {
   int i;
-  long space;
 
   /* Set up machine just out of reset.  */
   PC = 0;
@@ -120,19 +119,14 @@ sim_engine_run (SIM_DESC sd,
 		int siggnal) /* ignore  */
 {
   SIM_CPU *cpu = STATE_CPU (sd, 0);
-  int needfetch;
   signed_4 inst;
   enum microblaze_instr op;
   int memops;
   int bonus_cycles;
   int insts;
-  int w;
-  int cycs;
-  signed_4 WLhash;
   unsigned_1 carry;
   bool imm_unsigned;
   short ra, rb, rd;
-  long immword;
   unsigned_4 oldpc, newpc;
   short delay_slot_enable;
   short branch_taken;

^ 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: microblaze: 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).