mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove unnecessary temporary variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8594ec6570
commit
64e9de348b
@ -224,10 +224,8 @@ static void printCOFFSymbolAddress(llvm::raw_ostream &Out,
|
||||
const std::vector<RelocationRef> &Rels,
|
||||
uint64_t Offset, uint32_t Disp) {
|
||||
StringRef Sym;
|
||||
if (error_code EC = resolveSymbolName(Rels, Offset, Sym)) {
|
||||
error(EC);
|
||||
return ;
|
||||
}
|
||||
if (error(resolveSymbolName(Rels, Offset, Sym)))
|
||||
return;
|
||||
Out << Sym;
|
||||
if (Disp > 0)
|
||||
Out << format(" + 0x%04x", Disp);
|
||||
|
Loading…
Reference in New Issue
Block a user