The "name" member of tui_data_window was set, but never used. This
removes it.
gdb/ChangeLog
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_data_window::show_register_group): Update.
* tui/tui-regs.h (struct tui_data_item_window) <name>: Remove.
+2020-07-01 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::show_register_group): Update.
+ * tui/tui-regs.h (struct tui_data_item_window) <name>: Remove.
+
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-stack.c (SINGLE_KEY): Move from tui-data.h
if (!refresh_values_only)
{
data_item_win->item_no = regnum;
- data_item_win->name = name;
data_item_win->highlight = false;
}
tui_get_register (frame, data_item_win, regnum, 0);
return 1;
}
- const char *name = nullptr;
/* The register number, or data display number. */
int item_no = -1;
bool highlight = false;