[llvm] r315006 - [dsymutil] Fix unused variable warning
Francis Ricci via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 5 12:35:55 PDT 2017
Author: fjricci
Date: Thu Oct 5 12:35:55 2017
New Revision: 315006
URL: http://llvm.org/viewvc/llvm-project?rev=315006&view=rev
Log:
[dsymutil] Fix unused variable warning
Modified:
llvm/trunk/tools/dsymutil/DwarfLinker.cpp
Modified: llvm/trunk/tools/dsymutil/DwarfLinker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DwarfLinker.cpp?rev=315006&r1=315005&r2=315006&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DwarfLinker.cpp (original)
+++ llvm/trunk/tools/dsymutil/DwarfLinker.cpp Thu Oct 5 12:35:55 2017
@@ -3493,7 +3493,7 @@ bool DwarfLinker::link(const DebugMap &M
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());
More information about the llvm-commits
mailing list