[U-Boot] [U-Boot,02/12] mtd: cfi_flash: fix indentation

Tom Rini trini at konsulko.com
Mon Dec 5 00:00:47 CET 2016


On Wed, Nov 16, 2016 at 12:50:06AM +0000, Andre Przywara wrote:

> The indentation is misleading here and suggests that the write command
> will be only executed in the else clause.
> It seems like this is not intended, so fix the indentation to avoid
> both compiler warnings and puzzled readers.
> 
> Pointed out by GCC 6.2's -Wmisleading-indentation warning.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> Reviewed-by: Stefan Roese <sr at denx.de>

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/20161204/ab18da82/attachment.sig>


More information about the U-Boot mailing list