[RFA] (cli/cli-cmds.c) ARI fix: Avoid assignment inside if statement
Eli Zaretskii
eliz@gnu.org
Mon Dec 24 03:41:00 GMT 2012
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>, gdb-patches@sourceware.org
> Date: Sun, 23 Dec 2012 23:28:45 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Since when is that bad C, so much so that we would need to enforce it?
>
> It's part of the GNU coding standards.
Which says "Try not to...".
FWIW, Emacs sources are replete with such assignments, and I don't see
anything wrong with that in the first place.
So yes, I guess I'm challenging this ARI rule.
More information about the Gdb-patches
mailing list