Remove unused typedef

This removes unused typedef left in change:
https://chromium-review.googlesource.com/c/447697/
and fixes error:
dump_symbols.cc:613:35: error: unused typedef 'Word' [-Werror,-Wunused-local-typedef]

Change-Id: Ib5a82cd8af9a58ebf173b0f338fa9ad341819ef3
Reviewed-on: https://chromium-review.googlesource.com/459518
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Gordana Cmiljanovic 2017-03-24 14:52:03 +01:00 committed by Mark Mentovai
parent 0b7c2ea698
commit eb6c296472

View file

@ -610,7 +610,6 @@ bool LoadSymbols(const string& obj_file,
typedef typename ElfClass::Addr Addr; typedef typename ElfClass::Addr Addr;
typedef typename ElfClass::Phdr Phdr; typedef typename ElfClass::Phdr Phdr;
typedef typename ElfClass::Shdr Shdr; typedef typename ElfClass::Shdr Shdr;
typedef typename ElfClass::Word Word;
Addr loading_addr = GetLoadingAddress<ElfClass>( Addr loading_addr = GetLoadingAddress<ElfClass>(
GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff), GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff),