Fix warning for simple-object-elf.c.
authorMartin Liska <mliska@suse.cz>
Fri, 1 Sep 2017 11:22:04 +0000 (13:22 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 1 Sep 2017 11:22:04 +0000 (11:22 +0000)
2017-09-01  Martin Liska  <mliska@suse.cz>

* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
Remove duplicite declaration.

From-SVN: r251584

libiberty/ChangeLog
libiberty/simple-object-elf.c

index 191a3116bb72d96ff79d8dd3e3bfd76a8e2c9018..8c469710f8e8fd36820a0cf56fb92d434418278d 100644 (file)
@@ -1,3 +1,8 @@
+2017-09-01  Martin Liska  <mliska@suse.cz>
+
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Remove duplicite declaration.
+
 2017-08-31  Richard Biener  <rguenther@suse.de>
 
        PR lto/81968
index 646208a85b9a888d433d87758c4a77a33cca37c7..6774eb273c9f838f4b518033c862faddb678f049 100644 (file)
@@ -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;