[RFA 05/11] Remove unused declaration

Tom Tromey tom@tromey.com
Tue Sep 12 18:57:00 GMT 2017


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



More information about the Gdb-patches mailing list