mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Don't return error_code from a function that doesn't fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -668,8 +668,7 @@ DWARFContextInMemory::DWARFContextInMemory(const object::ObjectFile &Obj,
|
||||
uint64_t SectionSize = RelocatedSection->getSize();
|
||||
for (const RelocationRef &Reloc : Section.relocations()) {
|
||||
uint64_t Address = Reloc.getOffset();
|
||||
uint64_t Type;
|
||||
Reloc.getType(Type);
|
||||
uint64_t Type = Reloc.getType();
|
||||
uint64_t SymAddr = 0;
|
||||
uint64_t SectionLoadAddress = 0;
|
||||
object::symbol_iterator Sym = Reloc.getSymbol();
|
||||
|
Reference in New Issue
Block a user