From 5400535a70cd5f7626f4110a69508ad9ff669328 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 13 May 2022 13:47:39 -0600 Subject: [PATCH] Remove unused field cooked_index::m_start cooked_index::m_start is unused and can be removed. I think this was a leftover from a previous approach in the index finalization code, and then when rewriting it I forgot to remove it. Tested by rebuilding. --- gdb/dwarf2/cooked-index.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gdb/dwarf2/cooked-index.h b/gdb/dwarf2/cooked-index.h index 1d229586948..ad4de05ba52 100644 --- a/gdb/dwarf2/cooked-index.h +++ b/gdb/dwarf2/cooked-index.h @@ -230,11 +230,6 @@ private: /* If we found "main" or an entry with 'is_main' set, store it here. */ cooked_index_entry *m_main = nullptr; - /* When constructing the index, entries are stored on a linked list. - This member points to the head of that list. Later, they are - entered into the hash table, at which point this is no longer - used. */ - cooked_index_entry *m_start = nullptr; /* The addrmap. This maps address ranges to dwarf2_per_cu_data objects. */ addrmap *m_addrmap = nullptr; -- 2.30.2