Remove an unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17243 a1c6a512-1295-4272-9138-f99709370657
diff --git a/utils/MTP/sendfirm.c b/utils/MTP/sendfirm.c
index e216037..d281513 100644
--- a/utils/MTP/sendfirm.c
+++ b/utils/MTP/sendfirm.c
@@ -54,7 +54,6 @@
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 @@
#else
filesize = (uint64_t) sb.st_size;
#endif
- filename = basename(from_path);
genfile = LIBMTP_new_file_t();
genfile->filesize = filesize;