diff options
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp index 38f92178a87..9c8b814d2b2 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp @@ -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 |