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.bru...@keymile.com>
> Signed-off-by: Jeroen Hofstee <jer...@myspectrum.nl>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to