From 896ee09882933a707d2adef76aaa184249e8de05 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 26 Sep 2018 05:34:25 -0600 Subject: [PATCH] Remove dead definition from valops.c This removes a variable definition in valops.c that has been surrounded by "#if 0" since gdb moved to sourceware. gdb/ChangeLog 2018-09-26 Tom Tromey * valops.c (auto_abandon): Remove dead code. --- gdb/ChangeLog | 4 ++++ gdb/valops.c | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 19a6566e93b..fa1ca59cc0d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-09-26 Tom Tromey + + * valops.c (auto_abandon): Remove dead code. + 2018-09-26 Tom Tromey * tui/tui-win.c (WIN_HEIGHT_USAGE): Remove extra ">"s. diff --git a/gdb/valops.c b/gdb/valops.c index de6f839c33c..521f2ca9837 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -102,13 +102,6 @@ static void find_method_list (struct value **, const char *, std::vector *, struct type **, LONGEST *); -#if 0 -/* Flag for whether we want to abandon failed expression evals by - default. */ - -static int auto_abandon = 0; -#endif - int overload_resolution = 0; static void show_overload_resolution (struct ui_file *file, int from_tty, -- 2.30.2