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

Fix warning in PDB code. NFC

llvm-svn: 267938
This commit is contained in:
Amaury Sechet 2016-04-28 20:39:39 +00:00
parent bde3818784
commit 742dfadfe1

View File

@ -115,7 +115,7 @@ std::error_code PDBDbiStream::reload() {
return std::make_error_code(std::errc::illegal_byte_sequence);
std::error_code EC;
if (EC = readSubstream(ModInfoSubstream, Header->ModiSubstreamSize))
if ((EC = readSubstream(ModInfoSubstream, Header->ModiSubstreamSize)))
return EC;
// Since each ModInfo in the stream is a variable length, we have to iterate