Remove set-but-unused variable

This commit is contained in:
David Blaikie 2021-08-25 12:03:53 -07:00
parent f1bb30a495
commit 3784fc493e
1 changed files with 0 additions and 4 deletions

View File

@ -1967,16 +1967,12 @@ bool DWARFASTParserClang::CompleteRecordType(const DWARFDIE &die,
TypeSystemClang::StartTagDeclarationDefinition(clang_type);
}
int tag_decl_kind = -1;
AccessType default_accessibility = eAccessNone;
if (tag == DW_TAG_structure_type) {
tag_decl_kind = clang::TTK_Struct;
default_accessibility = eAccessPublic;
} else if (tag == DW_TAG_union_type) {
tag_decl_kind = clang::TTK_Union;
default_accessibility = eAccessPublic;
} else if (tag == DW_TAG_class_type) {
tag_decl_kind = clang::TTK_Class;
default_accessibility = eAccessPrivate;
}