From: Anatolij Gustschin Date: Sat, 29 Sep 2012 00:52:55 +0000 (+0000) Subject: cmd_fat.c: fix build warning X-Git-Tag: v2012.10-rc2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e5acb883aee6dbe5894f066216dbf9a18951113d;p=u-boot cmd_fat.c: fix build warning 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 Reported-by: Albert ARIBAUD Tested-by: Albert ARIBAUD --- diff --git a/common/cmd_fat.c b/common/cmd_fat.c index 55585c6cf4..5a5698b056 100644 --- a/common/cmd_fat.c +++ b/common/cmd_fat.c @@ -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);