summaryrefslogtreecommitdiff
path: root/common/env_flash.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2015-12-23 12:07:24 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:35:53 +0800
commit9ec7743e9cd2227ca1bb57f1581dacaad212cbcd (patch)
tree1f0666d99e82128ee247206a87093e7654178f88 /common/env_flash.c
parentd533473490c7a88fd9cc353b900c13d1ecc8f9b6 (diff)
downloadu-boot-imx-9ec7743e9cd2227ca1bb57f1581dacaad212cbcd.zip
u-boot-imx-9ec7743e9cd2227ca1bb57f1581dacaad212cbcd.tar.gz
u-boot-imx-9ec7743e9cd2227ca1bb57f1581dacaad212cbcd.tar.bz2
common: env: initialize scalar variable
Before calling hsearch_r, initialize callback entry to NULL. Coverity log: " Uninitialized scalar variable (UNINIT) uninit_use_in_call: Using uninitialized value e. Field e.callback is uninitialized when calling hsearch_r. " Reported-by: Coverity Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> (cherry picked from commit 5a6894397a657edec5d0cf4e20968cc66a368c51)
Diffstat (limited to 'common/env_flash.c')
0 files changed, 0 insertions, 0 deletions