summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipod2c.c
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-11-07 20:03:36 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-11-07 20:03:36 +0000
commit8e47406b76ebd34df155d3cc1e0781a69dae315b (patch)
tree13e99e4032c33c90af36cafb95754b8cdf99fd24 /rbutil/ipodpatcher/ipod2c.c
parent992b57324e60b5b264e9f80f8ddee1da5413a5ad (diff)
Fix a compile warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23558 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/ipod2c.c')
-rw-r--r--rbutil/ipodpatcher/ipod2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/ipodpatcher/ipod2c.c b/rbutil/ipodpatcher/ipod2c.c
index ec0be93ead..77a3923196 100644
--- a/rbutil/ipodpatcher/ipod2c.c
+++ b/rbutil/ipodpatcher/ipod2c.c
@@ -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+");