diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-12-02 14:34:51 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-02 14:43:40 +0100 |
commit | d62026e2dde1d27c7d1c702f11b0464e1d470d4f (patch) | |
tree | 9d9a6a2de84cf956e76f55ebbea03e791c38c47f | |
parent | 4f728bfc13c45bc744bfdbfc3086bed74a8cbb4c (diff) | |
download | bcm5719-llvm-d62026e2dde1d27c7d1c702f11b0464e1d470d4f.tar.gz bcm5719-llvm-d62026e2dde1d27c7d1c702f11b0464e1d470d4f.zip |
[lldb][NFC] Don't calculate member indices in DWARFASTParserClang::ParseChildMembers
We keep counting members and then don't do anything with the computed result.
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp index 43030c62cb4..ca1db03b02f 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp @@ -2465,7 +2465,6 @@ bool DWARFASTParserClang::ParseChildMembers( const uint64_t parent_bit_size = parent_byte_size == UINT64_MAX ? UINT64_MAX : parent_byte_size * 8; - uint32_t member_idx = 0; BitfieldInfo last_field_info; ModuleSP module_sp = parent_die.GetDWARF()->GetObjectFile()->GetModule(); @@ -2935,7 +2934,6 @@ bool DWARFASTParserClang::ParseChildMembers( } } } - ++member_idx; } break; case DW_TAG_subprogram: |