[U-Boot] [PATCH] fs/fat/fat_write.c: Fix GCC 4.6 warnings

Anatolij Gustschin agust at denx.de
Sun Mar 25 01:30:06 CET 2012


On Sun, 25 Mar 2012 00:57:06 +0100
Anatolij Gustschin <agust at denx.de> wrote:

> Fix:
> fat_write.c: In function 'find_directory_entry':
> fat_write.c:826:8: warning: variable 'prevcksum' set but not used
> [-Wunused-but-set-variable]
> fat_write.c: In function 'do_fat_write':
> fat_write.c:933:6: warning: variable 'root_cluster' set but not used
> [-Wunused-but-set-variable]
> fat_write.c:925:12: warning: variable 'slotptr' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Donggeun Kim <dg77.kim at samsung.com>
> ---
>  fs/fat/fat_write.c |   10 +---------
>  1 files changed, 1 insertions(+), 9 deletions(-)

I'll push this patch through my staging branch if nobody objects.

Thanks,
Anatolij


More information about the U-Boot mailing list