Fix a compile warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23558 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
992b57324e
commit
8e47406b76
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ static int write_hfile(unsigned char* buf, off_t len, char* cname)
|
|||
{
|
||||
char filename[256];
|
||||
FILE* fp;
|
||||
(void)buf;
|
||||
|
||||
snprintf(filename,256,"%s.h",cname);
|
||||
fp = fopen(filename,"w+");
|
||||
|
|
Loading…
Reference in a new issue