This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] (read_cutu_die_from_dwo): Delete unused local comp_dir_string
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 31 Mar 2014 16:55:08 -0700
- Subject: [commit] (read_cutu_die_from_dwo): Delete unused local comp_dir_string
- Authentication-results: sourceware.org; auth=none
Hi.
While hacking on dwarf2read.c I noticed this.
Committed.
2014-03-31 Doug Evans <dje@google.com>
* dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
comp_dir_string.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 64f7383..0c8d99f 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4970,7 +4970,6 @@ read_cutu_die_from_dwo (struct dwarf2_per_cu_data *this_cu,
struct dwarf2_section_info *section;
bfd *abfd;
const gdb_byte *begin_info_ptr, *info_ptr;
- const char *comp_dir_string;
ULONGEST signature; /* Or dwo_id. */
struct attribute *comp_dir, *stmt_list, *low_pc, *high_pc, *ranges;
int i,num_extra_attrs;