summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/dsymutil/DwarfLinker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinker.cpp b/llvm/tools/dsymutil/DwarfLinker.cpp
index 2e0cc773501..be662f49e1a 100644
--- a/llvm/tools/dsymutil/DwarfLinker.cpp
+++ b/llvm/tools/dsymutil/DwarfLinker.cpp
@@ -3493,7 +3493,7 @@ bool DwarfLinker::link(const DebugMap &Map) {
if (Obj->getType() == MachO::N_AST) {
auto ErrOrMemBufferRefs = BinHolder.GetMemoryBuffersForFile(
Obj->getObjectFilename(), Obj->getTimestamp());
- if (auto Err = ErrOrMemBufferRefs.getError())
+ if (ErrOrMemBufferRefs.getError())
continue;
if (!Options.NoOutput)
Streamer->emitSwiftAST(ErrOrMemBufferRefs.get());
OpenPOWER on IntegriCloud