From 0ad93d4feb33a43ea32301721fc370a243b08940 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 15 Aug 2014 15:38:56 -0700 Subject: [PATCH] (dwarf_decode_lines_1): Delete local "column", unused. * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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: -- 2.30.2