[dsymutil] Fix unused variable warning

llvm-svn: 315006
This commit is contained in:
Francis Ricci 2017-10-05 19:35:55 +00:00
parent 91fc7d89d0
commit 4407767fe8
1 changed files with 1 additions and 1 deletions

View File

@ -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());