From edc521f192275d9211524eec23f13dab9616a102 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 9 Aug 2016 04:50:26 +0000 Subject: [PATCH] Remove unreachable `return`. NFC. llvm-svn: 278096 --- lld/ELF/LinkerScript.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 57172ff..8c73e53 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -913,7 +913,6 @@ static uint64_t getSectionSize(StringRef Name) { default: llvm_unreachable("unsupported target"); } - return 0; } SymbolAssignment *ScriptParser::readAssignment(StringRef Name) { -- 2.7.4