summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f2b96df)
raw | patch | inline | side by side (parent: f2b96df)
author | Anatolij Gustschin <agust@denx.de> | |
Sat, 29 Sep 2012 00:52:55 +0000 (00:52 +0000) | ||
committer | Tom Rini <trini@ti.com> | |
Sat, 29 Sep 2012 17:00:29 +0000 (10:00 -0700) |
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>
(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>
common/cmd_fat.c | patch | blob | history |
diff --git a/common/cmd_fat.c b/common/cmd_fat.c
index 55585c6cf4b0ec9aad0d962cf775de2f46fbed21..5a5698b056cf013784e21421906a31f05725aa19 100644 (file)
--- a/common/cmd_fat.c
+++ b/common/cmd_fat.c
disk_partition_t info;
int dev = 0;
int part = 1;
- char *ep;
if (argc < 5)
return cmd_usage(cmdtp);