]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd_fat.c: fix build warning
authorAnatolij Gustschin <agust@denx.de>
Sat, 29 Sep 2012 00:52:55 +0000 (00:52 +0000)
committerTom Rini <trini@ti.com>
Sat, 29 Sep 2012 17:00:29 +0000 (10:00 -0700)
commite5acb883aee6dbe5894f066216dbf9a18951113d
treefa7ab51455d819dabaf4a4aaf9831a51522b69d5
parentf2b96dfbbcd0636e31ebf26bfa9ca91c656660d2
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>
common/cmd_fat.c