1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andree Buschmann 2011-05-03 20:28:56 +00:00
parent befabb2bab
commit f19d6a5e1d
4 changed files with 11 additions and 6 deletions

View file

@ -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;
}