Skip to content

Commit d62026e

Browse files
committed
[lldb][NFC] Don't calculate member indices in DWARFASTParserClang::ParseChildMembers
We keep counting members and then don't do anything with the computed result.
1 parent 4f728bf commit d62026e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,6 @@ bool DWARFASTParserClang::ParseChildMembers(
24652465
const uint64_t parent_bit_size =
24662466
parent_byte_size == UINT64_MAX ? UINT64_MAX : parent_byte_size * 8;
24672467

2468-
uint32_t member_idx = 0;
24692468
BitfieldInfo last_field_info;
24702469

24712470
ModuleSP module_sp = parent_die.GetDWARF()->GetObjectFile()->GetModule();
@@ -2935,7 +2934,6 @@ bool DWARFASTParserClang::ParseChildMembers(
29352934
}
29362935
}
29372936
}
2938-
++member_idx;
29392937
} break;
29402938

29412939
case DW_TAG_subprogram:

0 commit comments

Comments
 (0)