diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-03-10 14:56:37 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-03-10 16:09:02 -0400 |
commit | bedb4e09f292fcb48eb895c81e2a38774f0fb87e (patch) | |
tree | c35e0a2490d67c91aa5e15c959e6143049fd71b0 /gdb/dwarf2 | |
parent | b4f18de12c77d2838f413ca9b5f51f508123c277 (diff) | |
download | gdb-bedb4e09f292fcb48eb895c81e2a38774f0fb87e.zip gdb-bedb4e09f292fcb48eb895c81e2a38774f0fb87e.tar.gz gdb-bedb4e09f292fcb48eb895c81e2a38774f0fb87e.tar.bz2 |
gdb/dwarf: remove unnecessary braces
Change-Id: If0b38b860e79771a16ea914af3e337fca0ee3a7d
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/read.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index c8c2ecd..7b1f977 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -3590,15 +3590,14 @@ build_type_psymtabs (dwarf2_per_objfile *per_objfile, sorted_by_abbrev.reserve (per_objfile->per_bfd->all_type_units.size ()); for (const auto &cu : per_objfile->per_bfd->all_units) - { - if (cu->is_debug_types) - { - auto sig_type = static_cast<signatured_type *> (cu.get ()); - sorted_by_abbrev.emplace_back - (sig_type, read_abbrev_offset (per_objfile, sig_type->section, - sig_type->sect_off)); - } - } + if (cu->is_debug_types) + { + auto sig_type = static_cast<signatured_type *> (cu.get ()); + sorted_by_abbrev.emplace_back (sig_type, + read_abbrev_offset (per_objfile, + sig_type->section, + sig_type->sect_off)); + } std::sort (sorted_by_abbrev.begin (), sorted_by_abbrev.end ()); |