This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove unused declaration
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 30 Sep 2017 03:13:21 -0000
- Subject: [binutils-gdb] Remove unused declaration
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6afe2f4a39badf0ea1ccf9fd34417e729577c6e6
commit 6afe2f4a39badf0ea1ccf9fd34417e729577c6e6
Author: Tom Tromey <tom@tromey.com>
Date: Wed May 3 17:40:10 2017 -0600
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.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/mi/mi-parse.c | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
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);