diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-05-21 19:08:39 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-05-21 19:08:39 +0000 |
| commit | 46207cc1c95412c85caa7c637b6866473f30ddff (patch) | |
| tree | 2c4b1d10cef66a0fdce2582678e9ad3729242f96 | |
| parent | 6bf7d915ac088ccc0a55afdc65e942f4da59f039 (diff) | |
| download | bcm5719-llvm-46207cc1c95412c85caa7c637b6866473f30ddff.tar.gz bcm5719-llvm-46207cc1c95412c85caa7c637b6866473f30ddff.zip | |
Remove dead variable.
llvm-svn: 270326
| -rw-r--r-- | lld/ELF/OutputSections.cpp | 3 |
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; |

