This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] (cli/cli-cmds.c) ARI fix: Avoid assignment inside if statement
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: pierre dot muller at ics-cnrs dot unistra dot fr, gdb-patches at sourceware dot org
- Date: Mon, 24 Dec 2012 11:16:52 +0100
- Subject: Re: [RFA] (cli/cli-cmds.c) ARI fix: Avoid assignment inside if statement
- References: <001201cde13f$af3ad4b0$0db07e10$%muller@ics-cnrs.unistra.fr> <837go8pnxn.fsf@gnu.org> <m2vcbsl7xe.fsf@igel.home> <834njcp160.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
> FWIW, Emacs sources are replete with such assignments,
Yes, they should be avoided.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."