[U-Boot] [PATCH 11/12] fs/yaffs2/yaffs_guts.c: Fix some GCC 4.6 warnings

Wolfgang Denk wd at denx.de
Wed Nov 16 21:37:21 CET 2011


Dear Anatolij Gustschin,

In message <1321399263-13826-12-git-send-email-agust at denx.de> you wrote:
> Fix:
> yaffs_guts.c: In function 'yaffs_CheckChunkErased':
> yaffs_guts.c:854:6: warning: variable 'result' set but not used
> yaffs_guts.c: In function 'yaffs_UpdateObjectHeader':
> yaffs_guts.c:3463:6: warning: variable 'result' set but not used
> yaffs_guts.c: In function 'yaffs_GrabChunkCache':
> yaffs_guts.c:3774:6: warning: variable 'pushout' set but not used
> yaffs_guts.c: In function 'yaffs_Scan':
> yaffs_guts.c:5237:6: warning: variable 'result' set but not used
> yaffs_guts.c: In function 'yaffs_CheckObjectDetailsLoaded':
> yaffs_guts.c:5748:6: warning: variable 'alloc_failed' set but not used
> yaffs_guts.c:5747:6: warning: variable 'result' set but not used
> yaffs_guts.c: In function 'yaffs_ScanBackwards':
> yaffs_guts.c:5808:6: warning: variable 'deleted' set but not used
> yaffs_guts.c:5806:6: warning: variable 'result' set but not used
> yaffs_guts.c: In function 'yaffs_GetObjectName':
> yaffs_guts.c:6657:7: warning: variable 'result' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  fs/yaffs2/yaffs_guts.c |   32 +++++++++-----------------------
>  1 files changed, 9 insertions(+), 23 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
Reader, suppose you were an idiot. And suppose you were a  member  of
Congress. But I repeat myself.                           - Mark Twain


More information about the U-Boot mailing list