[lld] r278096 - Remove unreachable `return`. NFC.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 21:50:27 PDT 2016
Author: ruiu
Date: Mon Aug 8 23:50:26 2016
New Revision: 278096
URL: http://llvm.org/viewvc/llvm-project?rev=278096&view=rev
Log:
Remove unreachable `return`. NFC.
Modified:
lld/trunk/ELF/LinkerScript.cpp
Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=278096&r1=278095&r2=278096&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Mon Aug 8 23:50:26 2016
@@ -913,7 +913,6 @@ static uint64_t getSectionSize(StringRef
default:
llvm_unreachable("unsupported target");
}
- return 0;
}
SymbolAssignment *ScriptParser::readAssignment(StringRef Name) {
More information about the llvm-commits
mailing list