From 2df72898c8cec9b4a932f8117dd6b824fefa7f62 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 13 Mar 2016 20:54:38 +0000 Subject: [PATCH] Remove `else` after `return`. llvm-svn: 263392 --- lld/ELF/Symbols.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp index 95a599584322..53b9660411b7 100644 --- a/lld/ELF/Symbols.cpp +++ b/lld/ELF/Symbols.cpp @@ -66,8 +66,7 @@ getSymVA(const SymbolBody &Body, typename ELFFile::uintX_t &Addend) { return 0; if (SS.IsFunc) return Body.getPltVA(); - else - return Out::Bss->getVA() + SS.OffsetInBss; + return Out::Bss->getVA() + SS.OffsetInBss; } case SymbolBody::UndefinedElfKind: case SymbolBody::UndefinedKind: