From 9e82a5c767b535a917993887d185a696eca023e9 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Wed, 19 Jun 2013 01:10:11 +0000 Subject: Remove unused parameter. Not sure why we weren't catching this with -Wunused-parameter... Spotted by inspection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184271 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/yaml2obj/yaml2elf.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/yaml2obj') diff --git a/tools/yaml2obj/yaml2elf.cpp b/tools/yaml2obj/yaml2elf.cpp index f3b82b1482..a038f7f2ff 100644 --- a/tools/yaml2obj/yaml2elf.cpp +++ b/tools/yaml2obj/yaml2elf.cpp @@ -139,7 +139,6 @@ static void createStringTableSectionHeader(Elf_Shdr &SHeader, template static void handleSymtabSectionHeader( const ELFYAML::Section &Sec, - const typename object::ELFObjectFile::Elf_Ehdr &Header, typename object::ELFObjectFile::Elf_Shdr &SHeader, StringTableBuilder &StrTab, ContiguousBlobAccumulator &CBA, unsigned DotStrtabSecNo) { @@ -274,7 +273,7 @@ static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc) { SHeader.sh_entsize = 0; // XXX: Really ugly right now. Need to put common state into a class. if (Sec.Type == ELFYAML::ELF_SHT(SHT_SYMTAB)) - handleSymtabSectionHeader(Sec, Header, SHeader, DotStrTab, CBA, + handleSymtabSectionHeader(Sec, SHeader, DotStrTab, CBA, DotStrtabSecNo); SHeaders.push_back(SHeader); } -- cgit v1.2.3