aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-location.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-location.c')
-rw-r--r--gdb/tui/tui-location.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/tui/tui-location.c b/gdb/tui/tui-location.c
index 9d6d29b..8ab06e1 100644
--- a/gdb/tui/tui-location.c
+++ b/gdb/tui/tui-location.c
@@ -71,9 +71,8 @@ tui_location_tracker::set_location (struct symtab *symtab)
bool
tui_location_tracker::set_fullname (struct symtab *symtab)
{
- const char *fullname = (symtab == nullptr
- ? "??"
- : symtab_to_fullname (symtab));
+ const char *fullname
+ = (symtab == nullptr ? "??" : symtab_to_fullname (symtab));
bool location_changed_p = fullname != m_full_name;
m_full_name = std::string (fullname);