]> git.sur5r.net Git - u-boot/commit
ext2fs: fix warning: 'blocknxt' may be used uninitialized
authorKim Phillips <kim.phillips@freescale.com>
Tue, 3 Jul 2012 22:41:56 +0000 (17:41 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 8 Jul 2012 20:55:04 +0000 (22:55 +0200)
commitb8032734ee94f4031c71aa40f100e9ef181ea0ef
treef191adf021d1b0439417b0390dc35b20a2252f92
parent8b6a4952e6064dc558cb7d5d375990b17491f26f
ext2fs: fix warning: 'blocknxt' may be used uninitialized

This warning was introduced in 436da3c "ext2load: increase read
speed":

ext2fs.c: In function 'ext2fs_read_file':
ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this function [-Wuninitialized]

this change makes it go away.

Cc: Eric Nelson <eric.nelson@boundarydevices.com>
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Jason Cooper <u-boot@lakedaemon.net>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
fs/ext2/ext2fs.c