diff options
author | Giuliano Procida <gprocida@google.com> | 2022-01-21 17:30:03 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@redhat.com> | 2022-02-24 18:16:21 +0100 |
commit | e21ff7aead1b2385439cdec413041783601690c7 (patch) | |
tree | baabb02b6a666cf696b970ea58960448b53a77a9 | |
parent | XML writer: remove type_hasher and remaining comment (diff) | |
download | libabigail-e21ff7aead1b2385439cdec413041783601690c7.tar.gz libabigail-e21ff7aead1b2385439cdec413041783601690c7.tar.bz2 libabigail-e21ff7aead1b2385439cdec413041783601690c7.tar.xz |
XML writer: drop write_elf_symbols_table variable emitted_syms
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>
-rw-r--r-- | src/abg-writer.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/abg-writer.cc b/src/abg-writer.cc index c845f2c4..c6869282 100644 --- a/src/abg-writer.cc +++ b/src/abg-writer.cc | |||
@@ -3158,7 +3158,6 @@ write_elf_symbols_table(const elf_symbols& syms, | |||
3158 | if (syms.empty()) | 3158 | if (syms.empty()) |
3159 | return false; | 3159 | return false; |
3160 | 3160 | ||
3161 | unordered_map<string, bool> emitted_syms; | ||
3162 | for (elf_symbols::const_iterator it = syms.begin(); it != syms.end(); ++it) | 3161 | for (elf_symbols::const_iterator it = syms.begin(); it != syms.end(); ++it) |
3163 | write_elf_symbol(*it, ctxt, indent); | 3162 | write_elf_symbol(*it, ctxt, indent); |
3164 | 3163 | ||