From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id E14C73982428; Fri, 13 May 2022 19:53:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E14C73982428 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove unused field cooked_index::m_start X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: fcab58390fc7a972f499b8ae1b2ff06994b6c1fc X-Git-Newrev: 5400535a70cd5f7626f4110a69508ad9ff669328 Message-Id: <20220513195314.E14C73982428@sourceware.org> Date: Fri, 13 May 2022 19:53:14 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2022 19:53:15 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D5400535a70cd= 5f7626f4110a69508ad9ff669328 commit 5400535a70cd5f7626f4110a69508ad9ff669328 Author: Tom Tromey Date: Fri May 13 13:47:39 2022 -0600 Remove unused field cooked_index::m_start =20 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. =20 Tested by rebuilding. Diff: --- 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 =3D 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 =3D nullptr; /* The addrmap. This maps address ranges to dwarf2_per_cu_data objects. */ addrmap *m_addrmap =3D nullptr;