]> Git Repo - J-u-boot.git/commit
socrates: Fix a misleading indentation warning
authorTom Rini <[email protected]>
Tue, 9 May 2017 02:14:19 +0000 (22:14 -0400)
committerTom Rini <[email protected]>
Fri, 12 May 2017 12:37:22 +0000 (08:37 -0400)
commit1f7efe82bdd5677500cc864ee53530d73367afab
treea37a551071d3b771f3d3b5c88640504a83273a8e
parentc33e825ac35bd13a29665b7bb32d00daad2bd59e
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 <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
board/socrates/socrates.c
This page took 0.035305 seconds and 4 git commands to generate.