]> git.baikalelectronics.ru Git - uboot.git/commit
mtdparts: Fix uninitialized scalar usage
authorTom Rini <trini@konsulko.com>
Sat, 26 Aug 2017 20:59:24 +0000 (16:59 -0400)
committerTom Rini <trini@konsulko.com>
Sat, 26 Aug 2017 20:59:24 +0000 (16:59 -0400)
commitb9cc55ce91092bd55b3c617ca7368e15b7019960
treee489425a5bfee5d8ecc6e9d051e019160fc96a40
parent57c67d7cf77110d4910da77311cf6c446bdd3f91
mtdparts: Fix uninitialized scalar usage

When reworking this code to fix other issues found by Coverity, I forgot
to ensure tmp_ep was always cleared before use.

Reported-by: Coverity (CID: 166612)
Fixes: 4cf66d755799 ("mtdparts: Fix final outstanding issue reported by Coverity")
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/mtdparts.c