summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-05-22 20:16:53 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-05-22 20:16:53 +0000
commit3b0bde2c2ce023b5b9e750875ad5099aa4af59d9 (patch)
tree07f9c2e70b7c84c6353842470261163077929033 /lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp
parent83460cfe74e99127818fc7ada2702df009f92093 (diff)
downloadbcm5719-llvm-3b0bde2c2ce023b5b9e750875ad5099aa4af59d9.tar.gz
bcm5719-llvm-3b0bde2c2ce023b5b9e750875ad5099aa4af59d9.zip
SymbolFile: remove an unused variable
Address a -Wunused-but-set-variable warning from gcc. NFC. llvm-svn: 270377
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp
index 71290f2f879..b21bf2ded48 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserJava.cpp
@@ -468,7 +468,6 @@ DWARFASTParserJava::ParseChildMembers(const DWARFDIE &parent_die, CompilerType &
DWARFFormValue encoding_uid;
uint32_t member_byte_offset = UINT32_MAX;
DWARFExpression member_location_expression(dwarf_cu);
- bool artificial = true;
DWARFAttributes attributes;
size_t num_attributes = die.GetAttributes(attributes);
@@ -494,7 +493,7 @@ DWARFASTParserJava::ParseChildMembers(const DWARFDIE &parent_die, CompilerType &
member_byte_offset = form_value.Unsigned();
break;
case DW_AT_artificial:
- artificial = form_value.Boolean();
+ static_cast<void>(form_value.Boolean());
break;
case DW_AT_accessibility:
// TODO: Handle when needed
OpenPOWER on IntegriCloud