summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-09-29 00:52:55 +0000
committerTom Rini <trini@ti.com>2012-09-29 10:00:29 -0700
commite5acb883aee6dbe5894f066216dbf9a18951113d (patch)
treefa7ab51455d819dabaf4a4aaf9831a51522b69d5 /common
parentf2b96dfbbcd0636e31ebf26bfa9ca91c656660d2 (diff)
downloadu-boot-imx-e5acb883aee6dbe5894f066216dbf9a18951113d.zip
u-boot-imx-e5acb883aee6dbe5894f066216dbf9a18951113d.tar.gz
u-boot-imx-e5acb883aee6dbe5894f066216dbf9a18951113d.tar.bz2
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 <agust@denx.de> Reported-by: Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_fat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/cmd_fat.c b/common/cmd_fat.c
index 55585c6..5a5698b 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);