From: Tom Tromey Date: Wed, 26 Sep 2018 11:34:25 +0000 (-0600) Subject: Remove dead definition from valops.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=896ee09882933a707d2adef76aaa184249e8de05;p=deliverable%2Fbinutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 19a6566e93..fa1ca59cc0 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 de6f839c33..521f2ca983 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,