This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH/obv] Remove unused typedef/decl in dwarf2read.c
- From: Keith Seitz <keiths at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 23 Jul 2010 07:45:47 -0700
- Subject: [PATCH/obv] Remove unused typedef/decl in dwarf2read.c
Hi,
This patch removes some unused (dead/leaked?) code from dwarf2read.c.
Keith
ChangeLog
2010-07-23 Keith Seitz <keiths@redhat.com>
* dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr
and vector definition.
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.423
diff -u -p -r1.423 dwarf2read.c
--- dwarf2read.c 22 Jul 2010 16:24:38 -0000 1.423
+++ dwarf2read.c 23 Jul 2010 14:42:55 -0000
@@ -156,9 +156,6 @@ struct mapped_index
const char *constant_pool;
};
-typedef struct dwarf2_per_cu_data *dwarf2_per_cu_data_ptr;
-DEF_VEC_P (dwarf2_per_cu_data_ptr);
-
struct dwarf2_per_objfile
{
struct dwarf2_section_info info;