summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2016-04-28 20:39:39 +0000
committerAmaury Sechet <deadalnix@gmail.com>2016-04-28 20:39:39 +0000
commit5575d079a553fa0e0c88b33db019ab5ca0f0271f (patch)
treeacc7446efd277be51e8686a028d4bc39bb42fa2f /llvm/lib/DebugInfo/PDB
parente9631f166e25a74fef22c4230b0dd1c5db645173 (diff)
downloadbcm5719-llvm-5575d079a553fa0e0c88b33db019ab5ca0f0271f.tar.gz
bcm5719-llvm-5575d079a553fa0e0c88b33db019ab5ca0f0271f.zip
Fix warning in PDB code. NFC
llvm-svn: 267938
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp2
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
OpenPOWER on IntegriCloud