summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-06-19 01:10:11 +0000
committerSean Silva <silvas@purdue.edu>2013-06-19 01:10:11 +0000
commit0559d9e4d4a75ef0e3885b1eb53ed0f4743b3cdf (patch)
treea24dc87c31a73a146da2ddc244eb5ee083a41517 /llvm/tools
parentfc65a50f4188595c8ca5980f0e41db47edf5e979 (diff)
downloadbcm5719-llvm-0559d9e4d4a75ef0e3885b1eb53ed0f4743b3cdf.tar.gz
bcm5719-llvm-0559d9e4d4a75ef0e3885b1eb53ed0f4743b3cdf.zip
Remove unused parameter.
Not sure why we weren't catching this with -Wunused-parameter... Spotted by inspection. llvm-svn: 184271
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/yaml2obj/yaml2elf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/yaml2obj/yaml2elf.cpp b/llvm/tools/yaml2obj/yaml2elf.cpp
index f3b82b14828..a038f7f2ffc 100644
--- a/llvm/tools/yaml2obj/yaml2elf.cpp
+++ b/llvm/tools/yaml2obj/yaml2elf.cpp
@@ -139,7 +139,6 @@ static void createStringTableSectionHeader(Elf_Shdr &SHeader,
template <class ELFT>
static void handleSymtabSectionHeader(
const ELFYAML::Section &Sec,
- const typename object::ELFObjectFile<ELFT>::Elf_Ehdr &Header,
typename object::ELFObjectFile<ELFT>::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<ELFT>(Sec, Header, SHeader, DotStrTab, CBA,
+ handleSymtabSectionHeader<ELFT>(Sec, SHeader, DotStrTab, CBA,
DotStrtabSecNo);
SHeaders.push_back(SHeader);
}
OpenPOWER on IntegriCloud