Fix a compile warning.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23558 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-11-07 20:03:36 +00:00
parent 992b57324e
commit 8e47406b76

View file

@ -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+");