Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / microblaze-tdep.c
index 9cfe3fe51d4750ac381eda25def9d9fe1091f934..665ec0cf33f5e61120a9d587f165a0ead6eb4ae0 100644 (file)
@@ -437,7 +437,6 @@ microblaze_frame_cache (struct frame_info *next_frame, void **this_cache)
 {
   struct microblaze_frame_cache *cache;
   struct gdbarch *gdbarch = get_frame_arch (next_frame);
-  CORE_ADDR func;
   int rn;
 
   if (*this_cache)
@@ -451,7 +450,8 @@ microblaze_frame_cache (struct frame_info *next_frame, void **this_cache)
   for (rn = 0; rn < gdbarch_num_regs (gdbarch); rn++)
     cache->register_offsets[rn] = -1;
 
-  func = get_frame_func (next_frame);
+  /* Call for side effects.  */
+  get_frame_func (next_frame);
 
   cache->pc = get_frame_address_in_block (next_frame);
 
This page took 0.02424 seconds and 4 git commands to generate.