From 952a6d4151ae37ef4f7121c000cab8fce01577ac Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 6 May 2010 01:16:15 +0000 Subject: 2010-05-05 Michael Snyder * psymtab.c (lookup_partial_symbol): Delete unused variable. (find_last_source_symtab_from_partial): Delete unused variable. * symfile.c (place_section): Delete unused variable. (default_symfile_offsets): Delete unused variable. (get_debug_link_info): Delete unused variable. (find_separate_debug_file_by_debuglink): Delete unused variable. (add_symbol_file_command): Delete unused variable. (symfile_find_segment_sections): Delete unused variable. * symmisc.c (free_symtab): Delete unused variable. (dump_symtab_1): Delete unused variable. * symtab.c (lookup_symbil_aux_quick): Delete unused variable. (find_pc_sect_symtab): Delete unused variable. (skip_prologue_using_lineinfo): Delete unused variable. (sources_info): Delete unused variable. (completion_list_add_name): Delete unused variable. (expand_line_sal): Delete unused variable. --- gdb/psymtab.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/psymtab.c') diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 4def4a7..0645dd6 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -427,7 +427,6 @@ struct partial_symbol * lookup_partial_symbol (struct partial_symtab *pst, const char *name, int global, domain_enum domain) { - struct partial_symbol *temp; struct partial_symbol **start, **psym; struct partial_symbol **top, **real_top, **bottom, **center; int length = (global ? pst->n_global_syms : pst->n_static_syms); @@ -563,7 +562,6 @@ relocate_psymtabs (struct objfile *objfile, static struct symtab * find_last_source_symtab_from_partial (struct objfile *ofp) { - struct symtab *result; struct partial_symtab *ps; struct partial_symtab *cs_pst = 0; -- cgit v1.1