The field tui_data_item_window::value is not used, so remove it.
gdb/ChangeLog
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (struct tui_data_item_window) <value>: Remove
field.
* tui/tui-regs.c (~tui_data_item_window): Update.
+2019-08-20 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.h (struct tui_data_item_window) <value>: Remove
+ field.
+ * tui/tui-regs.c (~tui_data_item_window): Update.
+
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_register_format, tui_get_register): Move
tui_data_item_window::~tui_data_item_window ()
{
- xfree (value);
xfree (content);
}
const char *name = nullptr;
/* The register number, or data display number. */
int item_no = -1;
- void *value = nullptr;
bool highlight = false;
char *content = nullptr;
};