Remove several unused variables.

Patch by Alp Toker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-10-01 13:32:03 +00:00
parent 1c831f7f1f
commit 8819c84aed
25 changed files with 6 additions and 49 deletions

View File

@@ -420,8 +420,6 @@ static const EnumEntry<unsigned> ElfSegmentFlags[] = {
template<class ELFT>
void ELFDumper<ELFT>::printFileHeaders() {
error_code EC;
const typename ELFO::Elf_Ehdr *Header = Obj->getHeader();
{
@@ -512,7 +510,6 @@ template<class ELFT>
void ELFDumper<ELFT>::printRelocations() {
ListScope D(W, "Relocations");
error_code EC;
int SectionNumber = -1;
for (typename ELFO::Elf_Shdr_Iter SecI = Obj->begin_sections(),
SecE = Obj->end_sections();
@@ -769,8 +766,6 @@ template<class ELFT>
void ELFDumper<ELFT>::printNeededLibraries() {
ListScope D(W, "NeededLibraries");
error_code EC;
typedef std::vector<StringRef> LibsTy;
LibsTy Libs;