From 96967be368c72d5945b792af48e40bb7cac0b979 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 15 Dec 2023 22:44:27 -0500 Subject: sim: microblaze: fix -Wunused-variable warnings --- sim/microblaze/interp.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sim') diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c index 5e701e5..0096438 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; -- cgit v1.1