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.
This commit is contained in:
Simon Marchi 2018-09-06 12:08:33 +01:00
parent deee88e981
commit 137be54029
3 changed files with 6 additions and 4 deletions

View 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

View 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;
}
}

View 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? */