diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-06-08 22:33:36 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-06-08 22:33:36 +0000 |
commit | 20a78a36f36967651032ab10b4ee31412e37b69d (patch) | |
tree | e78d4cf8751ac6d14ea134252db209eeeba5bf3a /utils/MTP | |
parent | 72e7b99f78e089b65a7ca0e7780ba64b2c9ddf84 (diff) | |
download | rockbox-20a78a36f36967651032ab10b4ee31412e37b69d.tar.gz rockbox-20a78a36f36967651032ab10b4ee31412e37b69d.zip |
Remove never used code -- libmtp is not used on Windows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21227 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/MTP')
-rw-r--r-- | utils/MTP/beastpatcher/mtp_libmtp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/MTP/beastpatcher/mtp_libmtp.c b/utils/MTP/beastpatcher/mtp_libmtp.c index 9ada7bfeea..ed2d32b85f 100644 --- a/utils/MTP/beastpatcher/mtp_libmtp.c +++ b/utils/MTP/beastpatcher/mtp_libmtp.c | |||
@@ -104,11 +104,8 @@ static int progress(uint64_t const sent, uint64_t const total, | |||
104 | (void)data; | 104 | (void)data; |
105 | 105 | ||
106 | int percent = (sent * 100) / total; | 106 | int percent = (sent * 100) / total; |
107 | #ifdef __WIN32__ | 107 | |
108 | printf("Progress: %I64u of %I64u (%d%%)\r", sent, total, percent); | ||
109 | #else | ||
110 | printf("Progress: %"PRIu64" of %"PRIu64" (%d%%)\r", sent, total, percent); | 108 | printf("Progress: %"PRIu64" of %"PRIu64" (%d%%)\r", sent, total, percent); |
111 | #endif | ||
112 | fflush(stdout); | 109 | fflush(stdout); |
113 | return 0; | 110 | return 0; |
114 | } | 111 | } |