From f19d6a5e1d53feedf76a7edd7756386d9e52339b Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Tue, 3 May 2011 20:28:56 +0000 Subject: 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 --- apps/plugins/rockboy/loader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/plugins/rockboy') 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; } -- cgit v1.2.3