I noticed some code in print_gdb_hints that is unused. I rolled a
patch, but while I was doing that commit:
commit
06e470d8fc0ae0e83fe0977fdf8c011998980891
Date: Sat Nov 29 15:48:55 2025 +0100
gdb: handle unlimited screen width case in print_gdb_hints
was merged that deleted some of the code I'd spotted. All that's left
is a 'return' that can be removed, there's nothing after the 'if'
block, the function just returns.
There should be no user visible changes after this commit.
Reviewed-By: Guinevere Larsen <guinevere@redhat.com>
{
for (string_file &msg : styled_msg)
gdb_printf (stream, "%s\n", msg.c_str ());
-
- return;
}
else
{