From 20a78a36f36967651032ab10b4ee31412e37b69d Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 8 Jun 2009 22:33:36 +0000 Subject: 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 --- utils/MTP/beastpatcher/mtp_libmtp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'utils') 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, (void)data; int percent = (sent * 100) / total; -#ifdef __WIN32__ - printf("Progress: %I64u of %I64u (%d%%)\r", sent, total, percent); -#else + printf("Progress: %"PRIu64" of %"PRIu64" (%d%%)\r", sent, total, percent); -#endif fflush(stdout); return 0; } -- cgit