]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/mcore/interp.c
sim: mcore: fix -Wunused-but-set-variable warnings
[thirdparty/binutils-gdb.git] / sim / mcore / interp.c
index 7561c440729d365ef0ead189601219883e519411..8bfb745a11f236df21d7afacf0b0884578243711 100644 (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)