From c77b14571e96d1656ceb6da63827f59450a1b05c Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Thu, 2 Aug 2007 12:12:25 +0000 Subject: Fix a couple of warnings. Also fix a bug where the offset wasn't being reported right in errors when it was past 4GB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14140 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/sansapatcher/bin2c.c | 1 + 1 file changed, 1 insertion(+) (limited to 'rbutil/sansapatcher/bin2c.c') diff --git a/rbutil/sansapatcher/bin2c.c b/rbutil/sansapatcher/bin2c.c index 6aa3e49f69..a9ff6743f5 100644 --- a/rbutil/sansapatcher/bin2c.c +++ b/rbutil/sansapatcher/bin2c.c @@ -72,6 +72,7 @@ static int write_cfile(unsigned char* buf, off_t len, char* cname) static int write_hfile(unsigned char* buf, off_t len, char* cname) { + (void)buf; char filename[256]; FILE* fp; -- cgit v1.2.3