Remove unused tui_win_element::highlight

gdb/ChangeLog:

	* tui/tui-data.h (struct tui_win_element) <highlight>: Remove.
	* tui/tui-data.c (init_content_element): Don't initialize it.
This commit is contained in:
Simon Marchi
2018-09-06 13:35:32 +01:00
parent 137be54029
commit cc5a5ae5b7
3 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
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)

View File

@@ -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:

View File

@@ -229,7 +229,6 @@ union tui_which_element
struct tui_win_element
{
int highlight;
union tui_which_element which_element;
};