]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: mtdparts: fix uninitialized variable warning
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 8 Jun 2017 12:04:03 +0000 (14:04 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:38:42 +0000 (08:38 -0400)
commit1aca4d5ae9f3c6af018105f89984752cdbdba121
tree7da1a5bfc6bbbf60d09604488e4aad120fb258b9
parentd2d20d9925ff57982fc0c50d4ec490323c2074f6
cmd: mtdparts: fix uninitialized variable warning

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@KARO-electronics.de>
cmd/mtdparts.c