Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 02:08:13PM -0500, Scott Wood wrote: > On 10/09/2012 01:51:14 PM, Tom Rini wrote: > >On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: > >> On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: > >> >Hi Anatolij, > >> > > >> >On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Scott Wood
On 10/09/2012 01:51:14 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: > On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: > >Hi Anatolij, > > > >On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin > >wrote: > > > >> Fix: > >> yaffs_guts.c: In function 'yaffs

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: > On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: > >Hi Anatolij, > > > >On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin > >wrote: > > > >> Fix: > >> yaffs_guts.c: In function 'yaffs_check_chunk_erased': > >> yaffs_guts.c:324:6: w

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Scott Wood
On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: Hi Anatolij, On Sat, 6 Oct 2012 11:31:03 +0200, 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] [snip] Te

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-06 Thread Albert ARIBAUD
Hi Anatolij, On Sat, 6 Oct 2012 11:31:03 +0200, 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': > ya

[U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-06 Thread Anatolij Gustschin
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]