summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-08-02 12:38:52 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-08-02 12:38:52 +0000
commitec04e731de1ff329a4cf2c24923da61ac8e02648 (patch)
treeb1b3d52f3e05611a72ae66e98ad0d4c50270d436 /rbutil/sansapatcher
parent73336e9729df94c97838522440e39cbaaa1e7b00 (diff)
downloadrockbox-ec04e731de1ff329a4cf2c24923da61ac8e02648.tar.gz
rockbox-ec04e731de1ff329a4cf2c24923da61ac8e02648.tar.bz2
rockbox-ec04e731de1ff329a4cf2c24923da61ac8e02648.zip
buf is never actually used, so just remove it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14142 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher')
-rw-r--r--rbutil/sansapatcher/bin2c.c5
1 files changed, 2 insertions, 3 deletions
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;
}