[U-Boot] arm: bootm-fdt.c: fix compiler warning

Tom Rini trini at konsulko.com
Sun Jan 28 18:52:36 UTC 2018


On Wed, Jan 17, 2018 at 07:00:37AM +0100, Heiko Schocher wrote:

> compiling U-Boot with bosch_mpcxxxxd_sd_defconfig
> drops warning:
> 
> arch/arm/lib/bootm-fdt.c: In function ‘arch_fixup_fdt’:
> arch/arm/lib/bootm-fdt.c:37:6: warning: unused variable ‘ret’ [-Wunused-variable]
>   int ret = 0;
>       ^~~
> 
> Fix it.
> 
> Signed-off-by: Heiko Schocher <hs 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: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180128/f46cd22b/attachment.sig>


More information about the U-Boot mailing list