Remove else after return.

llvm-svn: 234784
This commit is contained in:
Rui Ueyama 2015-04-13 19:56:08 +00:00
parent 7f38919e05
commit 3245a395c1
1 changed files with 2 additions and 3 deletions

View File

@ -31,11 +31,10 @@ public:
DefinedAtom::ContentType contentType() const override {
if (this->_contentType != DefinedAtom::typeUnknown)
return this->_contentType;
else if (this->_section->sh_flags & llvm::ELF::SHF_HEX_GPREL) {
if (this->_section->sh_flags & llvm::ELF::SHF_HEX_GPREL) {
if (this->_section->sh_type == llvm::ELF::SHT_NOBITS)
return (this->_contentType = DefinedAtom::typeZeroFillFast);
else
return (this->_contentType = DefinedAtom::typeDataFast);
return (this->_contentType = DefinedAtom::typeDataFast);
}
return ELFDefinedAtom<ELFT>::contentType();
}