[pushed] Remove unused tui_win_element::highlight
Commit Message
gdb/ChangeLog:
* tui/tui-data.h (struct tui_win_element) <highlight>: Remove.
* tui/tui-data.c (init_content_element): Don't initialize it.
---
gdb/ChangeLog | 5 +++++
gdb/tui/tui-data.c | 1 -
gdb/tui/tui-data.h | 1 -
3 files changed, 5 insertions(+), 2 deletions(-)
@@ -1,5 +1,10 @@
2018-09-06 Simon Marchi <simon.marchi@ericsson.com>
+ * tui/tui-data.h (struct tui_win_element) <highlight>: Remove.
+ * tui/tui-data.c (init_content_element): Don't initialize it.
+
+2018-09-06 Simon Marchi <simon.marchi@ericsson.com>
+
* tui/tui-data.h (struct tui_win_info)
<detail::opaque>: Remove.
* tui/tui-data.c (init_win_info): Remove assignment.
@@ -472,7 +472,6 @@ static void
init_content_element (struct tui_win_element *element,
enum tui_win_type type)
{
- element->highlight = FALSE;
switch (type)
{
case SRC_WIN:
@@ -229,7 +229,6 @@ union tui_which_element
struct tui_win_element
{
- int highlight;
union tui_which_element which_element;
};