From 6afe2f4a39badf0ea1ccf9fd34417e729577c6e6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 3 May 2017 17:40:10 -0600 Subject: [PATCH] Remove unused declaration There was a leftover cleanup declaration in mi_parse. Remove it. gdb/ChangeLog 2017-09-29 Tom Tromey * 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 004e0b0f0ff..cefba273514 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-29 Tom Tromey + + * mi/mi-parse.c (mi_parse): Remove unused declaration. + 2017-09-29 Tom Tromey * mi/mi-cmd-disas.c (mi_cmd_disassemble): Don't copy "oarg". diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c index cf05fa06529..9c1b033eda4 100644 --- a/gdb/mi/mi-parse.c +++ b/gdb/mi/mi-parse.c @@ -237,7 +237,6 @@ std::unique_ptr mi_parse (const char *cmd, char **token) { const char *chp; - struct cleanup *cleanup; std::unique_ptr parse (new struct mi_parse); -- 2.30.2