Remove unused tui_win_info::detail::opaque
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 6 Sep 2018 11:08:33 +0000 (12:08 +0100)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 6 Sep 2018 11:08:33 +0000 (12:08 +0100)
gdb/ChangeLog:

* tui/tui-data.h (struct tui_win_info)
<detail::opaque>: Remove.
* tui/tui-data.c (init_win_info): Remove assignment.

gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-data.h

index 69e3182ec32ab8f177c02aa05ca4f804154b19e1..a486fa1ad6d9927548cb6b1c3f8e6b3747ee22f7 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2018-09-05  Tom Tromey  <tom@tromey.com>
 
        * warning.m4 (AM_GDB_WARNINGS): Add -Wformat when testing
index e5f2f5ba657d5c346c0e5518e6500af0cc3b87f8..c73b28ff254cd443abff81a029bc77ee20656fef 100644 (file)
@@ -546,9 +546,6 @@ init_win_info (struct tui_win_info *win_info)
       break;
     case CMD_WIN:
       break;
-    default:
-      win_info->detail.opaque = NULL;
-      break;
     }
 }
 
index 791aa4f1f76bc43b39b0fd72edf716419129fe20..46e9997a6794202be2ce64dd611f4013f576a43a 100644 (file)
@@ -278,7 +278,6 @@ struct tui_win_info
     struct tui_source_info source_info;
     struct tui_data_info data_display_info;
     struct tui_command_info command_info;
-    void *opaque;
   }
   detail;
   int can_highlight;   /* Can this window ever be highlighted?  */