summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-10-31 13:49:31 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-10-31 13:49:31 +0000
commit103a0559b752440e62323edbec47a59ae2dd24ef (patch)
tree74f511d521640d8ff5f29bb40a7c3f2e4749d9ae
parent814abb59dfdb354ca246a66217b3b3a9f7ac4aa5 (diff)
downloadbcm5719-llvm-103a0559b752440e62323edbec47a59ae2dd24ef.tar.gz
bcm5719-llvm-103a0559b752440e62323edbec47a59ae2dd24ef.zip
[LLDB] - Removed unused variable. NFC.
Introduced in r344119. Thanks to Dávid Bolvanský fo reporting. llvm-svn: 345720
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
index da94b5e3f91..36771e55003 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
@@ -214,11 +214,8 @@ void DWARFDebugRngLists::Extract(SymbolFileDWARF *dwarf2Data) {
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.
OpenPOWER on IntegriCloud