The last_visible_line field of tui_gen_win_info is not used, so remove
it.
gdb/ChangeLog
2019-08-13 Tom Tromey <tom@tromey.com>
* tui/tui-data.h (struct tui_gen_win_info) <last_visible_line>:
Remove.
* tui/tui-data.c (tui_initialize_static_data): Update.
2019-08-13 Tom Tromey <tom@tromey.com>
+ * tui/tui-data.h (struct tui_gen_win_info) <last_visible_line>:
+ Remove.
+ * tui/tui-data.c (tui_initialize_static_data): Update.
+
+2019-08-13 Tom Tromey <tom@tromey.com>
+
* tui/tui-winsource.h (struct tui_exec_info_window)
<~tui_exec_info_window, maybe_allocate_content, get_content,
m_content>: Remove.
win->height =
win->origin.x =
win->origin.y =
- win->viewport_height =
- win->last_visible_line = 0;
+ win->viewport_height = 0;
win->handle = NULL;
win->is_visible = false;
win->title = 0;
struct tui_point origin = {0, 0};
/* Viewport height. */
int viewport_height = 0;
- /* Index of last visible line. */
- int last_visible_line = 0;
/* Whether the window is visible or not. */
bool is_visible = false;
/* Window title to display. */