Remove dead definition from valops.c
authorTom Tromey <tom@tromey.com>
Wed, 26 Sep 2018 11:34:25 +0000 (05:34 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 26 Sep 2018 11:34:25 +0000 (05:34 -0600)
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
gdb/valops.c

index 19a6566e93b39bb01fb0756300c2676acc12d08b..fa1ca59cc0d06e724f07f1c417f9d9f2424d9720 100644 (file)
@@ -1,3 +1,7 @@
+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.
index de6f839c33c921cf561cb860b73a3ce6962cf110..521f2ca983775409183a693a67970fd2a39c675f 100644 (file)
@@ -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,