[U-Boot] board:keymile: remove unnecessary double braces
Tom Rini
trini at ti.com
Thu Jun 12 00:20:44 CEST 2014
On Wed, Jun 11, 2014 at 12:34:39AM +0200, Jeroen Hofstee wrote:
> Clang interpretes an if condition like "if ((a = b) == NULL)
> as it tries to assign a value in a statement. Hence if you do
> "if ((something)) it warns you that you might be confused.
> Hence drop the double braces for plane if statements.
>
> cc: Holger Brunck <holger.brunck at keymile.com>
> Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140611/1d91bbcf/attachment.pgp>
More information about the U-Boot
mailing list