This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: score-tdep.c: avoid mixed declarations and statements
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: jimb at codesourcery dot com
- Cc: qinwei at sunnorth dot com dot cn, gdb-patches at sourceware dot org
- Date: Tue, 9 Jan 2007 11:02:39 +0100 (CET)
- Subject: Re: RFA: score-tdep.c: avoid mixed declarations and statements
- References: <m364bh9l3q.fsf@codesourcery.com>
> From: Jim Blandy <jimb@codesourcery.com>
> Date: Mon, 08 Jan 2007 15:04:09 -0800
>
> We recently added -Wdeclaration-after-statement to GDB's set of build
> warnings, which caught the new S+core port.
>
> Okay to commit?
I'd say this is abvious.
> gdb/ChangeLog:
> 2007-01-08 Jim Blandy <jimb@codesourcery.com>
>
> * score-tdep.c (score_push_dummy_call): Don't mix declarations and
> statements.