]> git.dujemihanovic.xyz Git - u-boot.git/commit
GCC4.6: Squash warnings in yaffs_guts.c
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 24 Oct 2011 23:41:38 +0000 (23:41 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:09 +0000 (23:54 +0200)
commit4754c82372c1f995b760ab35456cf8ebe1d8f8bc
treeb12d3fc1d68d8e33311f54f8d8686a3ed67a3ff7
parent4b41478c6688f539949ea3e8ecada0ab5fcbcf40
GCC4.6: Squash warnings in yaffs_guts.c

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@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: William Juul <william.juul@tandberg.com>
fs/yaffs2/yaffs_guts.c