sim: mcore: fix -Wunused-but-set-variable warnings

This commit is contained in:
Mike Frysinger
2023-12-06 20:07:50 -07:00
parent fca8f1a3dc
commit 2a04b8c908

View File

@@ -332,8 +332,6 @@ step_once (SIM_DESC sd, SIM_CPU *cpu)
/* TODO: Unindent this block. */
{
int32_t oldpc;
insts ++;
if (pc & 02)
@@ -408,8 +406,6 @@ step_once (SIM_DESC sd, SIM_CPU *cpu)
if (tracing)
fprintf (stderr, "%.4x: inst = %.4x ", pc, inst);
oldpc = pc;
pc += 2;
switch (inst >> 8)