]> git.sur5r.net Git - u-boot/commit
image-fdt.c: store returned error value
authorMax Krummenacher <max.krummenacher@toradex.com>
Wed, 5 Aug 2015 15:17:03 +0000 (17:17 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 11:19:37 +0000 (07:19 -0400)
commitd89212b796b8a59237f48b2149864bb89800c8a0
tree40c1f765ca6287b636fb0c8e4db87ebed1c0f26e
parentbd8ecfb88cad67a218b4aa65696e270f2fa177a5
image-fdt.c: store returned error value

This fixes the following warning (and the runtime error reporting):
../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used
uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
common/image-fdt.c