From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4227 invoked by alias); 30 Sep 2017 03:13:21 -0000 Mailing-List: contact gdb-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: gdb-cvs-owner@sourceware.org List-Subscribe: Sender: gdb-cvs-owner@sourceware.org Received: (qmail 4208 invoked by uid 306); 30 Sep 2017 03:13:21 -0000 Date: Sat, 30 Sep 2017 03:13:00 -0000 Message-ID: <20170930031321.4206.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove unused declaration X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 9813429a729dbcd761dfbb02d2d7a3449af0881d X-Git-Newrev: 6afe2f4a39badf0ea1ccf9fd34417e729577c6e6 X-SW-Source: 2017-09/txt/msg00315.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6afe2f4a39badf0ea1ccf9fd34417e729577c6e6 commit 6afe2f4a39badf0ea1ccf9fd34417e729577c6e6 Author: Tom Tromey 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 * 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 + * 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". 2017-09-29 Tom Tromey 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 mi_parse (const char *cmd, char **token) { const char *chp; - struct cleanup *cleanup; std::unique_ptr parse (new struct mi_parse);