Remove confusing `return`.

`addInputSec` returns void. Even though it is syntactically correct,
the use of `return` here is just confusing.

llvm-svn: 306307
This commit is contained in:
Rui Ueyama 2017-06-26 16:52:16 +00:00
parent 9b4e8975a9
commit 71fab2f03b
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ void OutputSectionFactory::addInputSec(InputSectionBase *IS,
SectionKey Key = createKey(IS, OutsecName);
OutputSection *&Sec = Map[Key];
return addInputSec(IS, OutsecName, Sec);
addInputSec(IS, OutsecName, Sec);
}
void OutputSectionFactory::addInputSec(InputSectionBase *IS,