[Lldb-commits] [lldb] r345720 - [LLDB] - Removed unused variable. NFC.
George Rimar via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 31 06:49:32 PDT 2018
Author: grimar
Date: Wed Oct 31 06:49:31 2018
New Revision: 345720
URL: http://llvm.org/viewvc/llvm-project?rev=345720&view=rev
Log:
[LLDB] - Removed unused variable. NFC.
Introduced in r344119.
Thanks to Dávid Bolvanský fo reporting.
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp?rev=345720&r1=345719&r2=345720&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp Wed Oct 31 06:49:31 2018
@@ -214,11 +214,8 @@ void DWARFDebugRngLists::Extract(SymbolF
lldb::offset_t offset = 0;
uint64_t length = data.GetU32(&offset);
- bool isDwarf64 = false;
- if (length == 0xffffffff) {
+ if (length == 0xffffffff)
length = data.GetU64(&offset);
- isDwarf64 = true;
- }
lldb::offset_t end = offset + length;
// Check version.
More information about the lldb-commits
mailing list