Skip to content
Commit 1f7efe82 authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@konsulko.com>
parent c33e825a
Loading
Loading
Loading
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