Fix compiler unused variable warning in DWARFUnit

Alex Langford has reported it from: https://reviews.llvm.org/D46810

llvm-svn: 333449
This commit is contained in:
Jan Kratochvil 2018-05-29 18:53:25 +00:00
parent 33b6f9acc4
commit 43b40939fb
1 changed files with 0 additions and 2 deletions

View File

@ -205,8 +205,6 @@ bool DWARFUnit::ExtractDIEsIfNeeded() {
// Final checks for both ExtractUnitDIEIfNeeded() and ExtractDIEsIfNeeded().
//--------------------------------------------------------------------------
void DWARFUnit::ExtractDIEsEndCheck(lldb::offset_t offset) const {
lldb::offset_t next_cu_offset = GetNextCompileUnitOffset();
// Give a little bit of info if we encounter corrupt DWARF (our offset should
// always terminate at or before the start of the next compilation unit
// header).