From: Doug Evans Date: Fri, 15 Aug 2014 22:38:56 +0000 (-0700) Subject: (dwarf_decode_lines_1): Delete local "column", unused. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ad93d4feb33a43ea32301721fc370a243b08940;p=binutils-gdb.git (dwarf_decode_lines_1): Delete local "column", unused. * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d195f4af1d2..20c4b4c5adb 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 7f183a72462..756d65baf29 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: