[U-Boot] [U-Boot, 01/17] socrates: Fix a misleading indentation warning

Tom Rini trini at konsulko.com
Fri May 12 17:21:55 UTC 2017


On Mon, May 08, 2017 at 10:14:19PM -0400, Tom Rini wrote:

> 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 at emcraft.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170512/c9c61c4b/attachment.sig>


More information about the U-Boot mailing list