Remove a redundant temporary variable.

llvm-svn: 309654
This commit is contained in:
Rui Ueyama 2017-08-01 04:18:57 +00:00
parent 936395b428
commit be5f98fa33
1 changed files with 1 additions and 2 deletions

View File

@ -99,8 +99,7 @@ LLDDwarfObj<ELFT>::findAux(const InputSectionBase &Sec, uint64_t Pos,
if (DR.Section->Flags & ELF::SHF_ALLOC)
Val += cast<InputSection>(DR.Section)->getOffsetInFile();
RelocAddrEntry Ret{SecIndex, Val};
return Ret;
return RelocAddrEntry{SecIndex, Val};
}
template <class ELFT>