summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-05-21 19:08:39 +0000
committerRui Ueyama <ruiu@google.com>2016-05-21 19:08:39 +0000
commit46207cc1c95412c85caa7c637b6866473f30ddff (patch)
tree2c4b1d10cef66a0fdce2582678e9ad3729242f96
parent6bf7d915ac088ccc0a55afdc65e942f4da59f039 (diff)
downloadbcm5719-llvm-46207cc1c95412c85caa7c637b6866473f30ddff.tar.gz
bcm5719-llvm-46207cc1c95412c85caa7c637b6866473f30ddff.zip
Remove dead variable.
llvm-svn: 270326
-rw-r--r--lld/ELF/OutputSections.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index d882ed85f57..1f08db2c0fd 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -1137,8 +1137,7 @@ void EHOutputSection<ELFT>::addSectionAux(EHInputSection<ELFT> *S,
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;
OpenPOWER on IntegriCloud