From 43b40939fb640bf17ad8bf47852fe90d062fa3b4 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 29 May 2018 18:53:25 +0000 Subject: [PATCH] Fix compiler unused variable warning in DWARFUnit Alex Langford has reported it from: https://reviews.llvm.org/D46810 llvm-svn: 333449 --- lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp index 91af09e3a64c..8ce5a2e654eb 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp @@ -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).