From 137be54029ed2d2fc95120bba2af88311e5a198a Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 6 Sep 2018 12:08:33 +0100 Subject: [PATCH] Remove unused tui_win_info::detail::opaque gdb/ChangeLog: * tui/tui-data.h (struct tui_win_info) : Remove. * tui/tui-data.c (init_win_info): Remove assignment. --- gdb/ChangeLog | 6 ++++++ gdb/tui/tui-data.c | 3 --- gdb/tui/tui-data.h | 1 - 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 69e3182ec32..a486fa1ad6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-09-06 Simon Marchi + + * tui/tui-data.h (struct tui_win_info) + : Remove. + * tui/tui-data.c (init_win_info): Remove assignment. + 2018-09-05 Tom Tromey * warning.m4 (AM_GDB_WARNINGS): Add -Wformat when testing diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c index e5f2f5ba657..c73b28ff254 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 791aa4f1f76..46e9997a679 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? */ -- 2.30.2