diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d195f4af1d..20c4b4c5ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-08-15 Doug Evans + + * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. + 2014-08-15 Doug Evans * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 7f183a7246..756d65baf2 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -17203,7 +17203,6 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir, CORE_ADDR address = 0; unsigned int file = 1; unsigned int line = 1; - unsigned int column = 0; int is_stmt = lh->default_is_stmt; int end_sequence = 0; CORE_ADDR addr; @@ -17408,7 +17407,7 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir, } break; case DW_LNS_set_column: - column = read_unsigned_leb128 (abfd, line_ptr, &bytes_read); + (void) read_unsigned_leb128 (abfd, line_ptr, &bytes_read); line_ptr += bytes_read; break; case DW_LNS_negate_stmt: