[U-Boot] [PATCH] cmd_fat.c: fix build warning

Albert ARIBAUD albert.u.boot at aribaud.net
Sat Sep 29 17:19:53 CEST 2012


Hi Anatolij,

On Sat, 29 Sep 2012 13:14:13 +0200, Anatolij Gustschin <agust at denx.de>
wrote:

> On Sat, 29 Sep 2012 12:52:55 +0200
> Anatolij Gustschin <agust at denx.de> wrote:
> 
> > Commit cfda5aeab89d73779e26f0d34cf10f64caa67431
> > (cmd_fat: use common get_device_and_partition function)
> > introduced a warning:
> > cmd_fat.c: In function 'do_fat_fswrite':
> > cmd_fat.c:178:8: warning: unused variable 'ep' [-Wunused-variable]
> > 
> > Fix it.
> > 
> > Signed-off-by: Anatolij Gustschin <agust at denx.de>
> > ---
> >  common/cmd_fat.c |    1 -
> >  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> Reported-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
> 
> I forgot to add attribution tag, so resending. patchwork hopefully
> will add it when picking the patch.

For the record, it fixes the build issue. As the fix is trivial,

Tested-by: Albert ARIBAUD <albert.u.boot at aribaud.net>

> Thanks,
> Anatolij

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list