From c656bca57874f367618b35767e5bfc35545c7b1d Mon Sep 17 00:00:00 2001 From: Aleksandar Ristovski Date: Thu, 31 Jan 2013 18:31:48 +0000 Subject: 2013-01-31 Aleksandar Ristovski * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. * symtab.c (iterate_over_symtabs): Remove unused s. (find_pc_sect_symtab): Remove unused pspAce. (find_pc_sect_line): Remove unused alt_symtab. (find_pcs_for_symtab_line): Remove unused ix, previous_function. (completion_list_add_name): Remove unused newsize. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00764.html --- gdb/dwarf2-frame.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/dwarf2-frame.c') diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index 179f0c20d64..ec4edfaaf33 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -888,8 +888,6 @@ dwarf2_compile_cfa_to_ax (struct agent_expr *expr, struct axs_value *loc, CORE_ADDR pc, struct dwarf2_per_cu_data *data) { - const int num_regs = gdbarch_num_regs (gdbarch) - + gdbarch_num_pseudo_regs (gdbarch); struct dwarf2_fde *fde; CORE_ADDR text_offset; struct dwarf2_frame_state fs; -- cgit v1.2.1