mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 05:04:23 +08:00
cmd_fat.c: fix build warning
Commit cfda5aeab8
(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@denx.de>
Reported-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Tested-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
This commit is contained in:
parent
f2b96dfbbc
commit
e5acb883ae
@ -175,7 +175,6 @@ static int do_fat_fswrite(cmd_tbl_t *cmdtp, int flag,
|
||||
disk_partition_t info;
|
||||
int dev = 0;
|
||||
int part = 1;
|
||||
char *ep;
|
||||
|
||||
if (argc < 5)
|
||||
return cmd_usage(cmdtp);
|
||||
|
Loading…
Reference in New Issue
Block a user