forked from OSchip/llvm-project
Avoid warning about unused variable when building without assertions.
llvm-svn: 241348
This commit is contained in:
parent
ff7fd90017
commit
34375d5a4b
|
@ -254,8 +254,8 @@ protected:
|
||||||
DRI.d.b = 0;
|
DRI.d.b = 0;
|
||||||
return DRI;
|
return DRI;
|
||||||
}
|
}
|
||||||
uint32_t Type = SymTable->sh_type;
|
assert(SymTable->sh_type == ELF::SHT_SYMTAB ||
|
||||||
assert(Type == ELF::SHT_SYMTAB || Type == ELF::SHT_DYNSYM);
|
SymTable->sh_type == ELF::SHT_DYNSYM);
|
||||||
|
|
||||||
uintptr_t SHT = reinterpret_cast<uintptr_t>(EF.section_begin());
|
uintptr_t SHT = reinterpret_cast<uintptr_t>(EF.section_begin());
|
||||||
unsigned SymTableIndex =
|
unsigned SymTableIndex =
|
||||||
|
|
Loading…
Reference in New Issue