aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-09-06 12:08:33 +0100
committerSimon Marchi <simon.marchi@ericsson.com>2018-09-06 12:08:33 +0100
commit137be54029ed2d2fc95120bba2af88311e5a198a (patch)
tree0dc3ccd9e74b283adfbc914c24cde554dad0f4e8 /gdb/tui
parentdeee88e9810fe5a3e73b071713ff6fa03b5c016d (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-data.c3
-rw-r--r--gdb/tui/tui-data.h1
2 files changed, 0 insertions, 4 deletions
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? */