Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 8f5959b

Browse files
committed
Fix warning in PDB code. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267938 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 277501a commit 8f5959b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DebugInfo/PDB/Raw/PDBDbiStream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ std::error_code PDBDbiStream::reload() {
115115
return std::make_error_code(std::errc::illegal_byte_sequence);
116116

117117
std::error_code EC;
118-
if (EC = readSubstream(ModInfoSubstream, Header->ModiSubstreamSize))
118+
if ((EC = readSubstream(ModInfoSubstream, Header->ModiSubstreamSize)))
119119
return EC;
120120

121121
// Since each ModInfo in the stream is a variable length, we have to iterate

0 commit comments

Comments
 (0)