Remove unused declaration
authorTom Tromey <tom@tromey.com>
Wed, 3 May 2017 23:40:10 +0000 (17:40 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 30 Sep 2017 03:12:13 +0000 (21:12 -0600)
There was a leftover cleanup declaration in mi_parse.  Remove it.

gdb/ChangeLog
2017-09-29  Tom Tromey  <tom@tromey.com>

* mi/mi-parse.c (mi_parse): Remove unused declaration.

gdb/ChangeLog
gdb/mi/mi-parse.c

index 004e0b0..cefba27 100644 (file)
@@ -1,5 +1,9 @@
 2017-09-29  Tom Tromey  <tom@tromey.com>
 
+       * mi/mi-parse.c (mi_parse): Remove unused declaration.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
        * mi/mi-cmd-disas.c (mi_cmd_disassemble): Don't copy "oarg".
 
 2017-09-29  Tom Tromey  <tom@tromey.com>
index cf05fa0..9c1b033 100644 (file)
@@ -237,7 +237,6 @@ std::unique_ptr<struct mi_parse>
 mi_parse (const char *cmd, char **token)
 {
   const char *chp;
-  struct cleanup *cleanup;
 
   std::unique_ptr<struct mi_parse> parse (new struct mi_parse);