]> git.baikalelectronics.ru Git - uboot.git/commit
socrates: Fix a misleading indentation warning
authorTom Rini <trini@konsulko.com>
Tue, 9 May 2017 02:14:19 +0000 (22:14 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 12:37:22 +0000 (08:37 -0400)
commitb219d8ed5914598449d78a3dc5b9174569a95a40
treea37a551071d3b771f3d3b5c88640504a83273a8e
parentb77fd3fe68b869fffc2130369d9ad1adfe4337de
socrates: Fix a misleading indentation warning

With gcc-6 and later we see a warning about the fact that we have a
construct of "if (test);\n\tstatement".  Upon reviewing the code, the
intention here is as the compiler suggests, we only want to execute the
indented statement if the test was true.

Cc: Sergei Poselenov <sposelenov@emcraft.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
board/socrates/socrates.c