forked from OSchip/llvm-project
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:
parent
9b4e8975a9
commit
71fab2f03b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue