Skip to content

Commit b5ef33b

Browse files
committed
[llvm-objdump] Delete unused variables after #128434
1 parent 125553a commit b5ef33b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/tools/llvm-objdump/ELFDump.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,6 @@ template <class ELFT> void ELFDumper<ELFT>::printSymbolVersion() {
405405
Shdr.sh_type != ELF::SHT_GNU_verdef)
406406
continue;
407407

408-
ArrayRef<uint8_t> Contents =
409-
unwrapOrError(Elf.getSectionContents(Shdr), FileName);
410-
const typename ELFT::Shdr *StrTabSec =
411-
unwrapOrError(Elf.getSection(Shdr.sh_link), FileName);
412-
StringRef StrTab = unwrapOrError(Elf.getStringTable(*StrTabSec), FileName);
413-
414408
if (Shdr.sh_type == ELF::SHT_GNU_verneed) {
415409
printSymbolVersionDependency(Shdr);
416410
} else {

0 commit comments

Comments
 (0)