mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Remove a useless declarations (found by scan-build)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71804149a3
commit
23191804e8
@ -294,7 +294,6 @@ Archive::symbol_iterator Archive::end_symbols() const {
|
||||
uint32_t symbol_count = 0;
|
||||
if (kind() == K_GNU) {
|
||||
symbol_count = *reinterpret_cast<const support::ubig32_t*>(buf);
|
||||
buf += sizeof(uint32_t) + (symbol_count * (sizeof(uint32_t)));
|
||||
} else if (kind() == K_BSD) {
|
||||
llvm_unreachable("BSD archive format is not supported");
|
||||
} else {
|
||||
|
@ -868,7 +868,6 @@ void ExtAddrMode::print(raw_ostream &OS) const {
|
||||
OS << (NeedPlus ? " + " : "")
|
||||
<< Scale << "*";
|
||||
WriteAsOperand(OS, ScaledReg, /*PrintType=*/false);
|
||||
NeedPlus = true;
|
||||
}
|
||||
|
||||
OS << ']';
|
||||
|
Loading…
x
Reference in New Issue
Block a user