forked from Imagelibrary/binutils-gdb
sim: mcore: fix -Wunused-but-set-variable warnings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user