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

Anatolij Gustschin agust at denx.de
Sat Sep 29 13:14:13 CEST 2012


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.

Thanks,
Anatolij


More information about the U-Boot mailing list