mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
73336e9729
commit
ec04e731de
1 changed files with 2 additions and 3 deletions
|
|
@ -70,9 +70,8 @@ static int write_cfile(unsigned char* buf, off_t len, char* cname)
|
||||||
return 0;
|
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];
|
char filename[256];
|
||||||
FILE* fp;
|
FILE* fp;
|
||||||
|
|
||||||
|
|
@ -126,7 +125,7 @@ int main (int argc, char* argv[])
|
||||||
if (write_cfile(buf,len,cname) < 0) {
|
if (write_cfile(buf,len,cname) < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (write_hfile(buf,len,cname) < 0) {
|
if (write_hfile(len,cname) < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue