From 39baa1d35e4f4157616abf6b1d8e0507e69cbfdc Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 1 Sep 2017 13:22:04 +0200 Subject: [PATCH] Fix warning for simple-object-elf.c. 2017-09-01 Martin Liska * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Remove duplicite declaration. From-SVN: r251584 --- libiberty/ChangeLog | 5 +++++ libiberty/simple-object-elf.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 191a3116bb7..8c469710f8e 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2017-09-01 Martin Liska + + * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): + Remove duplicite declaration. + 2017-08-31 Richard Biener PR lto/81968 diff --git a/libiberty/simple-object-elf.c b/libiberty/simple-object-elf.c index 646208a85b9..6774eb273c9 100644 --- a/libiberty/simple-object-elf.c +++ b/libiberty/simple-object-elf.c @@ -1232,7 +1232,6 @@ simple_object_elf_copy_lto_debug_sections (simple_object_read *sobj, off_t offset; off_t length; int ret; - const char *errmsg; simple_object_write_section *dest; off_t flags; unsigned char *buf; -- 2.30.2