[FYI] Remove dead definition from valops.c
Commit Message
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 <tom@tromey.com>
* valops.c (auto_abandon): Remove dead code.
---
gdb/ChangeLog | 4 ++++
gdb/valops.c | 7 -------
2 files changed, 4 insertions(+), 7 deletions(-)
@@ -102,13 +102,6 @@ static void find_method_list (struct value **, const char *,
std::vector<xmethod_worker_up> *,
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,