]> git.dujemihanovic.xyz Git - u-boot.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)
commit8b3cec7da18645eda7f7cd0b65ee9f2dac573409
treee489425a5bfee5d8ecc6e9d051e019160fc96a40
parentbd95e655b2a42a2c8fe649ffae3dfec27eab5759
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: bc028345acc4 ("mtdparts: Fix final outstanding issue reported by Coverity")
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/mtdparts.c