diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-04-24 20:21:47 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-04-24 20:21:47 +0000 |
commit | 35f41e666df3641c2b017b20c87870f1166db886 (patch) | |
tree | 08426c1f95fc681ed498a39c6356b1af8bf662ef | |
parent | 45786ca7fdfd58f9b3fa1233e5521b9d2c207a85 (diff) | |
download | rockbox-35f41e666df3641c2b017b20c87870f1166db886.tar.gz rockbox-35f41e666df3641c2b017b20c87870f1166db886.zip |
Remove an unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17243 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | utils/MTP/sendfirm.c | 2 |
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) | |||
54 | int sendfile_function(char *from_path) | 54 | int sendfile_function(char *from_path) |
55 | { | 55 | { |
56 | printf("Sending %s\n", from_path); | 56 | printf("Sending %s\n", from_path); |
57 | char *filename; | ||
58 | uint64_t filesize; | 57 | uint64_t filesize; |
59 | #ifdef __USE_LARGEFILE64 | 58 | #ifdef __USE_LARGEFILE64 |
60 | struct stat64 sb; | 59 | struct stat64 sb; |
@@ -82,7 +81,6 @@ int sendfile_function(char *from_path) | |||
82 | #else | 81 | #else |
83 | filesize = (uint64_t) sb.st_size; | 82 | filesize = (uint64_t) sb.st_size; |
84 | #endif | 83 | #endif |
85 | filename = basename(from_path); | ||
86 | 84 | ||
87 | genfile = LIBMTP_new_file_t(); | 85 | genfile = LIBMTP_new_file_t(); |
88 | genfile->filesize = filesize; | 86 | genfile->filesize = filesize; |