Refactor cooked_index::do_finalize
authorTom Tromey <tromey@adacore.com>
Fri, 4 Nov 2022 20:11:56 +0000 (14:11 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 1 Dec 2022 18:16:41 +0000 (11:16 -0700)
commitbed34ce7058b56d3a1e171de31df2a0a30afb8fd
tree5a0f810453034b7fc5d0077cb682e4a25d645a09
parent5f0a4fb85ed3b5fb112ff884a98eb95c685658b0
Refactor cooked_index::do_finalize

This refactors cooked_index::do_finalize, reordering an 'if' to make
it a little less redundant.  This change makes a subsequent patch
easier to read.

Reviewed-by: Andrew Burgess <aburgess@redhat.com>
gdb/dwarf2/cooked-index.c