]> sourceware.org Git - libabigail.git/commitdiff
XML writer: drop write_elf_symbols_table variable emitted_syms
authorGiuliano Procida <gprocida@google.com>
Fri, 21 Jan 2022 17:30:03 +0000 (17:30 +0000)
committerDodji Seketeli <dodji@redhat.com>
Thu, 24 Feb 2022 17:16:21 +0000 (18:16 +0100)
This was introduced in commit e2d45017 and was unused then.

* src/abg-writer.cc (write_elf_symbols_table): Drop unused
local variable emitted_syms.

Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
src/abg-writer.cc

index c845f2c4bd1cf47ca864fc51f209cb397f23ebe4..c6869282aff67d6df4e3246e818287c5220b29db 100644 (file)
@@ -3158,7 +3158,6 @@ write_elf_symbols_table(const elf_symbols&        syms,
   if (syms.empty())
     return false;
 
-  unordered_map<string, bool> emitted_syms;
   for (elf_symbols::const_iterator it = syms.begin(); it != syms.end(); ++it)
     write_elf_symbol(*it, ctxt, indent);
 
This page took 0.034221 seconds and 5 git commands to generate.