aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-05-03 17:40:10 -0600
committerTom Tromey <tom@tromey.com>2017-09-29 21:12:13 -0600
commit6afe2f4a39badf0ea1ccf9fd34417e729577c6e6 (patch)
tree6a63fa37640f6ab5742ff07aa5b3470f8eac6304 /gdb
parent9813429a729dbcd761dfbb02d2d7a3449af0881d (diff)
downloadgdb-6afe2f4a39badf0ea1ccf9fd34417e729577c6e6.zip
gdb-6afe2f4a39badf0ea1ccf9fd34417e729577c6e6.tar.gz
gdb-6afe2f4a39badf0ea1ccf9fd34417e729577c6e6.tar.bz2
Remove unused declaration
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/mi/mi-parse.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 004e0b0..cefba27 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c
index cf05fa0..9c1b033 100644
--- a/gdb/mi/mi-parse.c
+++ b/gdb/mi/mi-parse.c
@@ -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);