From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 8 Oct 2012 11:47:58 -0700 Subject: [U-Boot] yaffs2: Fix GCC 4.6 compile warnings In-Reply-To: <1349515863-23106-1-git-send-email-agust@denx.de> References: <1349515863-23106-1-git-send-email-agust@denx.de> Message-ID: <20121008184758.GE18891@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 05, 2012 at 11:31:03PM -0000, Anatolij Gustschin wrote: > Fix: > yaffs_guts.c: In function 'yaffs_check_chunk_erased': > yaffs_guts.c:324:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > yaffs_guts.c: In function 'yaffs_verify_chunk_written': > yaffs_guts.c:352:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > yaffs_guts.c: In function 'yaffs_grab_chunk_cache': > yaffs_guts.c:1488:6: warning: variable 'pushout' set but not used > [-Wunused-but-set-variable] > yaffs_guts.c: In function 'yaffs_check_obj_details_loaded': > yaffs_guts.c:3180:6: warning: variable 'alloc_failed' set but not used > [-Wunused-but-set-variable] > yaffs_guts.c:3179:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > yaffs_guts.c: In function 'yaffs_update_oh': > yaffs_guts.c:3288:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > yaffs_guts.c: In function 'yaffs_get_obj_name': > yaffs_guts.c:4447:7: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > yaffs_summary.c: In function 'yaffs_summary_read': > yaffs_summary.c:194:6: warning: variable 'sum_tags_bytes' set but not > used [-Wunused-but-set-variable] > yaffs_verify.c: In function 'yaffs_verify_file': > yaffs_verify.c:227:6: warning: variable 'actual_depth' set but not used > [-Wunused-but-set-variable] > yaffs_yaffs1.c: In function 'yaffs1_scan': > yaffs_yaffs1.c:26:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > yaffs_yaffs2.c: In function 'yaffs2_scan_chunk': > yaffs_yaffs2.c:949:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > yaffs_yaffs2.c: In function 'yaffs2_scan_backwards': > yaffs_yaffs2.c:1352:6: warning: variable 'deleted' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin > Cc: Charles Manning > Tested-by: Albert ARIBAUD Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: