Fix warning in PDB code. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Amaury Sechet 2016-04-28 20:39:39 +00:00
parent 277501abff
commit 8f5959b0e1

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