summaryrefslogtreecommitdiff
path: root/utils/MTP/sendfirm.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/MTP/sendfirm.c')
-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)
54int sendfile_function(char *from_path) 54int 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;