[lld] r270326 - Remove dead variable.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sat May 21 12:08:40 PDT 2016
Author: ruiu
Date: Sat May 21 14:08:39 2016
New Revision: 270326
URL: http://llvm.org/viewvc/llvm-project?rev=270326&view=rev
Log:
Remove dead variable.
Modified:
lld/trunk/ELF/OutputSections.cpp
Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=270326&r1=270325&r2=270326&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Sat May 21 14:08:39 2016
@@ -1137,8 +1137,7 @@ void EHOutputSection<ELFT>::addSectionAu
this->updateAlign(S->Align);
Sections.push_back(S);
- ArrayRef<uint8_t> SecData = S->getSectionData();
- ArrayRef<uint8_t> D = SecData;
+ ArrayRef<uint8_t> D = S->getSectionData();
uintX_t Offset = 0;
DenseMap<unsigned, unsigned> OffsetToIndex;
More information about the llvm-commits
mailing list