aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 23:44:19 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 23:44:19 +0000
commitfa238c0364af02ffb3e3e7d95781bd0914cbdf35 (patch)
treeb81a180a02d336f10870bad370aa0d3da8ccec9b /gdb/stabsread.c
parent46c162d47bef113bfe09e935b0e8e79e735573ba (diff)
downloadgdb-fa238c0364af02ffb3e3e7d95781bd0914cbdf35.zip
gdb-fa238c0364af02ffb3e3e7d95781bd0914cbdf35.tar.gz
gdb-fa238c0364af02ffb3e3e7d95781bd0914cbdf35.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* elfread.c (elf_symtab_read): Delete unused variable. (find_separate_debug_file_by_buildid): Delete unused variables. (elf_symfile_read): Delete unused variable. * coffread.c (coff_symfile_read): Delete unused variables. * coff-pe-read.c (add_pe_exported_sym): Delete unused variable. (read_pe_exported_syms): Delete unused variable. * stabsread.c (define_symbol): Delete unused variable. * dwarf2read.c (read_type_comp_unit_head): Delete unused variable. (process_psymtab_comp_unit): Delete unused variable. (dwarf2_build_psymtabs_hard): Delete unused variable. (load_partial_comp_unit): Delete unused variable. (create_all_comp_units): Delete unused variable. (scan_partial_symbols): Delete unused variable. (add_partial_symbol): Delete unused variable. (add_partial_namespace): Delete unused variable. (add_partial_enumeration): Delete unused variable. (load_full_comp_unit): Delete unused variable. (process_full_comp_unit): Delete unused variable. (read_file_scope): Delete unused variable. (read_type_unit_scope): Delete unused variable. (process_structure_scope): Delete unused variable. (process_enumeration_scope): Delete unused variable. (read_tag_ptr_to_member_type): Delete unused variable. (read_typedef): Delete unused variable. (read_partial_die): Delete unused variable. (decode_locdesc): Delete unused variable. (zeroed_partial_die): Delete unused global variable.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 7fc77d0..541e7d0 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -807,7 +807,6 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type,
struct type *range_type;
int ind = 0;
char quote = *p++;
- char *startp = p;
gdb_byte *string_local = (gdb_byte *) alloca (strlen (p));
gdb_byte *string_value;