[U-Boot] [PATCH 3/7] GCC4.6: Squash warnings in yaffs_guts.c

Wolfgang Denk wd at denx.de
Fri Oct 28 00:03:05 CEST 2011


Dear Marek Vasut,

In message <1319535702-20929-4-git-send-email-marek.vasut at gmail.com> you wrote:
> yaffs_guts.c: In function 'yaffs_ReadDataFromFile':
> yaffs_guts.c:4461:8: warning: 'chunk' may be used uninitialized in this function
> yaffs_guts.c:4462:8: warning: 'start' may be used uninitialized in this function
> yaffs_guts.c: In function 'yaffs_WriteDataToFile':
> yaffs_guts.c:4581:8: warning: 'chunk' may be used uninitialized in this function
> yaffs_guts.c:4582:8: warning: 'start' may be used uninitialized in this function
> yaffs_guts.c: In function 'yaffs_ResizeFile':
> yaffs_guts.c:4816:8: warning: 'newSizeOfPartialChunk' may be used uninitialized
> in this function
> yaffs_guts.c:4817:8: warning: 'newFullChunks' may be used uninitialized in this
> function
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
> Cc: William Juul <william.juul at tandberg.com>
> ---
>  fs/yaffs2/yaffs_guts.c |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I'm frequently appalled by the low regard you Earthmen have for life.
	-- Spock, "The Galileo Seven", stardate 2822.3


More information about the U-Boot mailing list