commit | 95ab0d351cd946fd8dab4905dd6367973fa88a64 | [log] [tgz] |
---|---|---|
author | Jeroen Hofstee <jeroen@myspectrum.nl> | Wed Jun 11 00:28:47 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Wed Jun 11 16:27:06 2014 -0400 |
tree | 912a465f68e4cad5441f00b2d0494225316358ae | |
parent | 0d23e8aa2c0f6fa7d67d1753cb249a6e4e9d50d3 [diff] |
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>