[llvm] r267938 - Fix warning in PDB code. NFC
Amaury Sechet via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 13:39:39 PDT 2016
Author: deadalnix
Date: Thu Apr 28 15:39:39 2016
New Revision: 267938
URL: http://llvm.org/viewvc/llvm-project?rev=267938&view=rev
Log:
Fix warning in PDB code. NFC
Modified:
llvm/trunk/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
Modified: llvm/trunk/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp?rev=267938&r1=267937&r2=267938&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp (original)
+++ llvm/trunk/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp Thu Apr 28 15:39:39 2016
@@ -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
More information about the llvm-commits
mailing list