objfile->sf->qf->forget_cached_source_info outside of
ALL_OBJFILE_SYMTABS loop.
(forget_cached_source_info): Delete unused variable `s'.
+2011-11-05 Doug Evans <dje@google.com>
+
+ * source.c (forget_cached_source_info_for_objfile): Move call to
+ objfile->sf->qf->forget_cached_source_info outside of
+ ALL_OBJFILE_SYMTABS loop.
+ (forget_cached_source_info): Delete unused variable `s'.
+
2011-11-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* i386-nat.c (dr_ref_count): Remove unused variable.
xfree (s->fullname);
s->fullname = NULL;
}
-
- if (objfile->sf)
- objfile->sf->qf->forget_cached_source_info (objfile);
}
+
+ if (objfile->sf)
+ objfile->sf->qf->forget_cached_source_info (objfile);
}
/* Forget what we learned about line positions in source files, and
forget_cached_source_info (void)
{
struct program_space *pspace;
- struct symtab *s;
struct objfile *objfile;
ALL_PSPACES (pspace)