mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user