buf is never actually used, so just remove it

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14142 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Barry Wardell 2007-08-02 12:38:52 +00:00
parent 73336e9729
commit ec04e731de

View file

@ -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;
}