[U-Boot] cmd: mtdparts: fix uninitialized variable warning
Tom Rini
trini at konsulko.com
Mon Jun 12 22:44:26 UTC 2017
On Thu, Jun 08, 2017 at 02:04:03PM +0200, Lothar Waßmann wrote:
> commit 06a040a31bcf ("cmd: mtdparts: fix null pointer dereference in parse_mtdparts")
> removed the initialization of a pointer variable, which is
> subsequently used in a debug() call. This produces an uninitialized
> variable warning, when compiling with DEBUG defined.
>
> Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
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/20170612/8ef5bd04/attachment.sig>
More information about the U-Boot
mailing list