diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-09-06 12:08:33 +0100 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-09-06 12:08:33 +0100 |
commit | 137be54029ed2d2fc95120bba2af88311e5a198a (patch) | |
tree | 0dc3ccd9e74b283adfbc914c24cde554dad0f4e8 | |
parent | deee88e9810fe5a3e73b071713ff6fa03b5c016d (diff) | |
download | gdb-137be54029ed2d2fc95120bba2af88311e5a198a.zip gdb-137be54029ed2d2fc95120bba2af88311e5a198a.tar.gz gdb-137be54029ed2d2fc95120bba2af88311e5a198a.tar.bz2 |
Remove unused tui_win_info::detail::opaque
gdb/ChangeLog:
* tui/tui-data.h (struct tui_win_info)
<detail::opaque>: Remove.
* tui/tui-data.c (init_win_info): Remove assignment.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/tui/tui-data.c | 3 | ||||
-rw-r--r-- | gdb/tui/tui-data.h | 1 |
3 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 69e3182..a486fa1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index e5f2f5b..c73b28f 100644 --- a/gdb/tui/tui-data.c +++ b/gdb/tui/tui-data.c @@ -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; } } diff --git a/gdb/tui/tui-data.h b/gdb/tui/tui-data.h index 791aa4f..46e9997 100644 --- a/gdb/tui/tui-data.h +++ b/gdb/tui/tui-data.h @@ -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? */ |