This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 05/11] Remove unused declaration
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Tue, 12 Sep 2017 12:57:30 -0600
- Subject: [RFA 05/11] Remove unused declaration
- Authentication-results: sourceware.org; auth=none
- References: <20170912185736.20436-1-tom@tromey.com>
There was a leftover cleanup declaration in mi_parse. Remove it.
ChangeLog
2017-09-12 Tom Tromey <tom@tromey.com>
* mi/mi-parse.c (mi_parse): Remove unused declaration.
---
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 c981c7e..e1c409d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-12 Tom Tromey <tom@tromey.com>
+ * mi/mi-parse.c (mi_parse): Remove unused declaration.
+
+2017-09-12 Tom Tromey <tom@tromey.com>
+
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Don't copy "oarg".
2017-09-12 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);
--
2.9.4