Remove unused tui_win_element::highlight
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 6 Sep 2018 12:35:32 +0000 (13:35 +0100)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 6 Sep 2018 12:35:53 +0000 (13:35 +0100)
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
gdb/tui/tui-data.c
gdb/tui/tui-data.h

index a486fa1ad6d9927548cb6b1c3f8e6b3747ee22f7..939490be410f902ba1b80ee0f425500dacad7a81 100644 (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)
index c73b28ff254cd443abff81a029bc77ee20656fef..7dbd1475ee01633617cf5cd4b0d2ac50a951cf21 100644 (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:
index 46e9997a6794202be2ce64dd611f4013f576a43a..79a438d8e24686e2d0af982acc81949b9ff8b682 100644 (file)
@@ -229,7 +229,6 @@ union tui_which_element
 
 struct tui_win_element
 {
-  int highlight;
   union tui_which_element which_element;
 };
 
This page took 0.031436 seconds and 4 git commands to generate.