1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Try to silence a overeager GCC warning.

llvm-svn: 111214
This commit is contained in:
Benjamin Kramer 2010-08-17 00:33:24 +00:00
parent 41deb334b5
commit 3acf387e2d

View File

@ -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);
}