mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-30 05:36:44 +00:00
SymbolFile: remove an unused variable
Address a -Wunused-but-set-variable warning from gcc. NFC. llvm-svn: 270377
This commit is contained in:
parent
83460cfe74
commit
3b0bde2c2c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user