summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/loader.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-03 20:28:56 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-03 20:28:56 +0000
commitf19d6a5e1d53feedf76a7edd7756386d9e52339b (patch)
tree152203f61b56c9896c53e867b2961cc018ca4ce5 /apps/plugins/rockboy/loader.c
parentbefabb2bab2736667d681c192bf4cb51b3aca032 (diff)
Fix even more 'variable set but not used' warnings reported from GCC 4.6.0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/loader.c')
-rw-r--r--apps/plugins/rockboy/loader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c
index d843ba8a60..6065cf2898 100644
--- a/apps/plugins/rockboy/loader.c
+++ b/apps/plugins/rockboy/loader.c
@@ -124,7 +124,6 @@ static void initmem(void *mem, int size)
static byte *loadfile(int fd, int *len)
{
- int c;
byte *d;
*len=lseek(fd,0,SEEK_END);
@@ -136,7 +135,7 @@ static byte *loadfile(int fd, int *len)
}
lseek(fd,0,SEEK_SET);
- c = read(fd, d, *len);
+ read(fd, d, *len);
return d;
}