Remove a redundant local variable.

llvm-svn: 312823
This commit is contained in:
Rui Ueyama 2017-09-08 19:41:35 +00:00
parent 461ed08fbd
commit 9011320921
1 changed files with 1 additions and 2 deletions

View File

@ -299,8 +299,7 @@ template <class ELFT> void Writer<ELFT>::createSyntheticSections() {
Add(InX::BuildId);
}
auto Commons = createCommonSections();
for (InputSection *S : Commons)
for (InputSection *S : createCommonSections())
Add(S);
InX::Bss = make<BssSection>(".bss");