From: Thierry Reding Date: Wed, 4 Jul 2012 08:09:02 +0200 Subject: [U-Boot] [PATCH v2] ext2fs: fix warning: 'blocknxt' may be used uninitialized In-Reply-To: <20120703174156.a1082309c2b205216606a004@freescale.com> References: <1332945431-12441-1-git-send-email-u-boot@lakedaemon.net> <1338566090-15008-1-git-send-email-u-boot@lakedaemon.net> <20120621204947.21CBE202253@gemini.denx.de> <20120703110542.c8b827398ebcedf3448725e1@freescale.com> <4FF36E3C.4000808@googlemail.com> <20120703174156.a1082309c2b205216606a004@freescale.com> Message-ID: <20120704060902.GA25386@avionic-0098.mockup.avionic-design.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 03, 2012 at 05:41:56PM -0500, Kim Phillips wrote: > 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 > Cc: Thierry Reding > Cc: Jason Cooper > Cc: Andreas Bie?mann > Cc: Reinhard Arlt > Signed-off-by: Kim Phillips > --- > v2: changed to Thierry's recommendation in: > > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/134043 > > build-tested only - please ack Tested on TEC, seems to behave the same as before: Tested-by: Thierry Reding Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: