From ec04e731de1ff329a4cf2c24923da61ac8e02648 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Thu, 2 Aug 2007 12:38:52 +0000 Subject: buf is never actually used, so just remove it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14142 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/sansapatcher/bin2c.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'rbutil/sansapatcher/bin2c.c') diff --git a/rbutil/sansapatcher/bin2c.c b/rbutil/sansapatcher/bin2c.c index a9ff6743f5..765c9a247c 100644 --- a/rbutil/sansapatcher/bin2c.c +++ b/rbutil/sansapatcher/bin2c.c @@ -70,9 +70,8 @@ static int write_cfile(unsigned char* buf, off_t len, char* cname) return 0; } -static int write_hfile(unsigned char* buf, off_t len, char* cname) +static int write_hfile(off_t len, char* cname) { - (void)buf; char filename[256]; FILE* fp; @@ -126,7 +125,7 @@ int main (int argc, char* argv[]) if (write_cfile(buf,len,cname) < 0) { return -1; } - if (write_hfile(buf,len,cname) < 0) { + if (write_hfile(len,cname) < 0) { return -1; } -- cgit