diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tui-data.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-data.h | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a486fa1..939490b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index c73b28f..7dbd147 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.c @@ -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: diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 46e9997..79a438d 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -229,7 +229,6 @@ union tui_which_element struct tui_win_element { - int highlight; union tui_which_element which_element; }; |