aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-09-26 05:34:25 -0600
committerTom Tromey <tom@tromey.com>2018-09-26 05:34:25 -0600
commit896ee09882933a707d2adef76aaa184249e8de05 (patch)
tree29281457f14587ee2280c6e160b06bcc155a0d93 /gdb/valops.c
parent57dbb3afed804c8e0c350563339f5f3de2ded910 (diff)
downloadgdb-896ee09882933a707d2adef76aaa184249e8de05.zip
gdb-896ee09882933a707d2adef76aaa184249e8de05.tar.gz
gdb-896ee09882933a707d2adef76aaa184249e8de05.tar.bz2
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.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c7
1 files changed, 0 insertions, 7 deletions
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,