This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove dead definition from valops.c
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 26 Sep 2018 11:37:03 -0000
- Subject: [binutils-gdb] Remove dead definition from valops.c
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=896ee09882933a707d2adef76aaa184249e8de05
commit 896ee09882933a707d2adef76aaa184249e8de05
Author: Tom Tromey <tom@tromey.com>
Date: Wed Sep 26 05:34:25 2018 -0600
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 <tom@tromey.com>
* valops.c (auto_abandon): Remove dead code.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/valops.c | 7 -------
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 19a6566..fa1ca59 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-09-26 Tom Tromey <tom@tromey.com>
+ * valops.c (auto_abandon): Remove dead code.
+
+2018-09-26 Tom Tromey <tom@tromey.com>
+
* tui/tui-win.c (WIN_HEIGHT_USAGE): Remove extra ">"s.
2018-09-24 Tom Tromey <tom@tromey.com>
diff --git a/gdb/valops.c b/gdb/valops.c
index de6f839..521f2ca 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -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,