[lld] r263392 - Remove `else` after `return`.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 13 13:54:38 PDT 2016
Author: ruiu
Date: Sun Mar 13 15:54:38 2016
New Revision: 263392
URL: http://llvm.org/viewvc/llvm-project?rev=263392&view=rev
Log:
Remove `else` after `return`.
Modified:
lld/trunk/ELF/Symbols.cpp
Modified: lld/trunk/ELF/Symbols.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Symbols.cpp?rev=263392&r1=263391&r2=263392&view=diff
==============================================================================
--- lld/trunk/ELF/Symbols.cpp (original)
+++ lld/trunk/ELF/Symbols.cpp Sun Mar 13 15:54:38 2016
@@ -66,8 +66,7 @@ getSymVA(const SymbolBody &Body, typenam
return 0;
if (SS.IsFunc)
return Body.getPltVA<ELFT>();
- else
- return Out<ELFT>::Bss->getVA() + SS.OffsetInBss;
+ return Out<ELFT>::Bss->getVA() + SS.OffsetInBss;
}
case SymbolBody::UndefinedElfKind:
case SymbolBody::UndefinedKind:
More information about the llvm-commits
mailing list