
12 Jun
2014
12 Jun
'14
12:20 a.m.
On Wed, Jun 11, 2014 at 12:40:25AM +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.
Signed-off-by: Jeroen Hofstee jeroen@myspectrum.nl
Applied to u-boot/master, thanks!
--
Tom