From: Simon Marchi Date: Thu, 6 Sep 2018 12:35:32 +0000 (+0100) Subject: Remove unused tui_win_element::highlight X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc5a5ae5b7ea576bb8bf4bbebeaa70366851eacd;p=binutils-gdb.git Remove unused tui_win_element::highlight gdb/ChangeLog: * tui/tui-data.h (struct tui_win_element) : Remove. * tui/tui-data.c (init_content_element): Don't initialize it. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a486fa1ad6d..939490be410 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-09-06 Simon Marchi + + * tui/tui-data.h (struct tui_win_element) : Remove. + * tui/tui-data.c (init_content_element): Don't initialize it. + 2018-09-06 Simon Marchi * tui/tui-data.h (struct tui_win_info) diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index c73b28ff254..7dbd1475ee0 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 46e9997a679..79a438d8e24 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; };