summaryrefslogtreecommitdiffstats
path: root/utils/MTP
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 20:21:47 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-04-24 20:21:47 +0000
commit35f41e666df3641c2b017b20c87870f1166db886 (patch)
tree08426c1f95fc681ed498a39c6356b1af8bf662ef /utils/MTP
parent45786ca7fdfd58f9b3fa1233e5521b9d2c207a85 (diff)
downloadrockbox-35f41e666df3641c2b017b20c87870f1166db886.tar.gz
rockbox-35f41e666df3641c2b017b20c87870f1166db886.tar.bz2
rockbox-35f41e666df3641c2b017b20c87870f1166db886.zip
Remove an unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP')
-rw-r--r--utils/MTP/sendfirm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/MTP/sendfirm.c b/utils/MTP/sendfirm.c
index e216037efc..d281513450 100644
--- a/utils/MTP/sendfirm.c
+++ b/utils/MTP/sendfirm.c
@@ -54,7 +54,6 @@ void usage(void)
int sendfile_function(char *from_path)
{
printf("Sending %s\n", from_path);
- char *filename;
uint64_t filesize;
#ifdef __USE_LARGEFILE64
struct stat64 sb;
@@ -82,7 +81,6 @@ int sendfile_function(char *from_path)
#else
filesize = (uint64_t) sb.st_size;
#endif
- filename = basename(from_path);
genfile = LIBMTP_new_file_t();
genfile->filesize = filesize;