aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-21 06:12:48 -0600
committerTom Tromey <tom@tromey.com>2019-06-25 07:48:45 -0600
commitbd7db367c4bc72bef9c7848b99aaaa1431cf1672 (patch)
tree27790233093fa98a66ce50c67d5e540f58906e2a /gdb/tui/tui-data.c
parent3add462fff33beb0e6f1480d3853eb56d664b438 (diff)
downloadgdb-bd7db367c4bc72bef9c7848b99aaaa1431cf1672.zip
gdb-bd7db367c4bc72bef9c7848b99aaaa1431cf1672.tar.gz
gdb-bd7db367c4bc72bef9c7848b99aaaa1431cf1672.tar.bz2
Remove layout_def::split
The "split" field in struct layout_def is never used, so this patch removes it. gdb/ChangeLog 2019-06-25 Tom Tromey <tom@tromey.com> * tui/tui-layout.c (tui_set_layout): Update. * tui/tui-data.h (struct tui_layout_def) <split>: Remove. * tui/tui-data.c (layout_def): Update.
Diffstat (limited to 'gdb/tui/tui-data.c')
-rw-r--r--gdb/tui/tui-data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index 3da269b..2c1e575 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -41,7 +41,7 @@ static std::vector<tui_source_window_base *> source_windows;
static struct tui_win_info *win_with_focus = NULL;
static struct tui_layout_def layout_def = {
SRC_WIN, /* DISPLAY_MODE */
- FALSE}; /* SPLIT */
+};
static int win_resized = FALSE;