summaryrefslogtreecommitdiff
path: root/common/env_dataflash.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2010-04-04 22:40:50 -0500
committerStefan Roese <sr@denx.de>2010-04-09 16:30:29 +0200
commit3b653fdb322028b27c5ae3d60ecb0eea2d58837f (patch)
tree50e9fcd93e1986e697d29848b32da9aa49532797 /common/env_dataflash.c
parenta233631095eba3e853049f6656642e3a7ef1d73c (diff)
downloadu-boot-imx-3b653fdb322028b27c5ae3d60ecb0eea2d58837f.zip
u-boot-imx-3b653fdb322028b27c5ae3d60ecb0eea2d58837f.tar.gz
u-boot-imx-3b653fdb322028b27c5ae3d60ecb0eea2d58837f.tar.bz2
cmd_ubi: Fix uninitialized variable warning
gcc 3.4.6 previously reported the following error on many MIPS boards which utilize UBI: cmd_ubi.c:193: warning: 'vol' might be used uninitialized in this function The current code is structured such that 'vol' will never be used when it is NULL anyway, but gcc isn't smart enough to figure this out. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/env_dataflash.c')
0 files changed, 0 insertions, 0 deletions