From: Wolfgang Denk Date: Fri, 28 Oct 2011 00:03:05 +0200 Subject: [U-Boot] [PATCH 3/7] GCC4.6: Squash warnings in yaffs_guts.c In-Reply-To: <1319535702-20929-4-git-send-email-marek.vasut@gmail.com> References: <1319535702-20929-1-git-send-email-marek.vasut@gmail.com> <1319535702-20929-4-git-send-email-marek.vasut@gmail.com> Message-ID: <20111027220305.A462512B7BBC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek Vasut, In message <1319535702-20929-4-git-send-email-marek.vasut@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 > Cc: Wolfgang Denk > Cc: Simon Glass > Cc: Mike Frysinger > Cc: William Juul > --- > 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