DWARFDebugInfoEntry: remove unused variable

llvm-svn: 361361
This commit is contained in:
Pavel Labath 2019-05-22 09:09:44 +00:00
parent 80233daeaa
commit 7b0b4b49d3
1 changed files with 1 additions and 4 deletions

View File

@ -725,13 +725,10 @@ void DWARFDebugInfoEntry::DumpAttribute(
size_t DWARFDebugInfoEntry::GetAttributes(
const DWARFUnit *cu, DWARFFormValue::FixedFormSizes fixed_form_sizes,
DWARFAttributes &attributes, uint32_t curr_depth) const {
SymbolFileDWARF *dwarf2Data = nullptr;
const DWARFAbbreviationDeclaration *abbrevDecl = nullptr;
lldb::offset_t offset = 0;
if (cu) {
dwarf2Data = cu->GetSymbolFileDWARF();
if (cu)
abbrevDecl = GetAbbreviationDeclarationPtr(cu, offset);
}
if (abbrevDecl) {
const DWARFDataExtractor &debug_info_data = cu->GetData();