aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-08-15 15:38:56 -0700
committerDoug Evans <dje@google.com>2014-08-15 15:38:56 -0700
commit0ad93d4feb33a43ea32301721fc370a243b08940 (patch)
tree9a355e3377bb4ff549d530b2bbbcb391de57deef
parent20d8c3722e283ae1240bbf03fc11eccfce936039 (diff)
downloadgdb-0ad93d4feb33a43ea32301721fc370a243b08940.zip
gdb-0ad93d4feb33a43ea32301721fc370a243b08940.tar.gz
gdb-0ad93d4feb33a43ea32301721fc370a243b08940.tar.bz2
(dwarf_decode_lines_1): Delete local "column", unused.
* dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d195f4a..20c4b4c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2014-08-15 Doug Evans <dje@google.com>
+ * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
+
+2014-08-15 Doug Evans <dje@google.com>
+
* dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
unused.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 7f183a7..756d65b 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: