Skip to content
Snippets Groups Projects
Commit 930e4254 authored by Jeroen Hofstee's avatar Jeroen Hofstee Committed by Tom Rini
Browse files

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: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
parent 867abdac
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment