diff options
Diffstat (limited to 'lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp')
| -rw-r--r-- | lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp b/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp index c4ff30011a17..4186f2eb6ba0 100644 --- a/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp +++ b/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp @@ -90,14 +90,14 @@ Error ModuleDebugStreamRef::commit() { return Error::success(); }  Expected<codeview::DebugChecksumsSubsectionRef>  ModuleDebugStreamRef::findChecksumsSubsection() const { +  codeview::DebugChecksumsSubsectionRef Result;    for (const auto &SS : subsections()) {      if (SS.kind() != DebugSubsectionKind::FileChecksums)        continue; -    codeview::DebugChecksumsSubsectionRef Result;      if (auto EC = Result.initialize(SS.getRecordData()))        return std::move(EC);      return Result;    } -  return make_error<RawError>(raw_error_code::no_entry); +  return Result;  } | 
