commit | f2dbedc6ae4611ca8bac17a2dd9db9dec7f2fefc | [log] [tgz] |
---|---|---|
author | Peter Tyser <ptyser@xes-inc.com> | Sun Apr 04 22:40:50 2010 -0500 |
committer | Stefan Roese <sr@denx.de> | Fri Apr 09 16:30:29 2010 +0200 |
tree | 50e9fcd93e1986e697d29848b32da9aa49532797 | |
parent | a8f6f887cdd1b8da59a4e71be8b5b8678c94afae [diff] |
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>