mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 08:11:54 +00:00
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:
parent
277501abff
commit
8f5959b0e1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user