1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-04 03:57:10 +01:00
Files
u-boot-megous/common/cli_hush.c
Jeroen Hofstee 930e4254ec common/cli_hush.c: remove unnecessary double braces
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.

Simon Glass <sjg@chromium.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
2014-06-11 16:27:06 -04:00

93 KiB