Remove tui_data_window::name
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.
This commit is contained in:
parent
e555083f95
commit
9ab26b4a0f
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -262,7 +262,6 @@ tui_data_window::show_register_group (struct reggroup *group,
|
||||
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);
|
||||
|
@ -48,7 +48,6 @@ struct tui_data_item_window : public tui_gen_win_info
|
||||
return 1;
|
||||
}
|
||||
|
||||
const char *name = nullptr;
|
||||
/* The register number, or data display number. */
|
||||
int item_no = -1;
|
||||
bool highlight = false;
|
||||
|
Loading…
Reference in New Issue
Block a user