From e699d33164a59dcfe7ad4a5154e5c6c811c1f958 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 11 Jul 2019 23:24:03 -0600 Subject: Remove useless assignment from tui_remove_hooks tui_remove_hooks clears deprecated_query_hook, but nothing in the TUI ever sets it; so remove the assignment. gdb/ChangeLog 2019-08-16 Tom Tromey * tui/tui-hooks.c (tui_remove_hooks): Don't set deprecated_query_hook. --- gdb/tui/tui-hooks.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/tui') diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index a2d06f8..5cc90dd 100644 --- a/gdb/tui/tui-hooks.c +++ b/gdb/tui/tui-hooks.c @@ -260,7 +260,6 @@ void tui_remove_hooks (void) { deprecated_print_frame_info_listing_hook = 0; - deprecated_query_hook = 0; /* Remove our observers. */ tui_attach_detach_observers (false); -- cgit v1.1