Try to silence a overeager GCC warning.
llvm-svn: 111214
This commit is contained in:
parent
5f237942f5
commit
b962ca0ce5
@ -569,6 +569,8 @@ void ELFObjectWriterImpl::RecordRelocation(const MCAssembler &Asm,
|
||||
ERE.r_info = ERE64.r_info;
|
||||
if (HasRelocationAddend)
|
||||
ERE.r_addend = Addend;
|
||||
else
|
||||
ERE.r_addend = 0; // Silence compiler warning.
|
||||
|
||||
Relocations[Fragment->getParent()].push_back(ERE);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user