diff options
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/loader.c | 3 |
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) | |||
124 | 124 | ||
125 | static byte *loadfile(int fd, int *len) | 125 | static byte *loadfile(int fd, int *len) |
126 | { | 126 | { |
127 | int c; | ||
128 | byte *d; | 127 | byte *d; |
129 | 128 | ||
130 | *len=lseek(fd,0,SEEK_END); | 129 | *len=lseek(fd,0,SEEK_END); |
@@ -136,7 +135,7 @@ static byte *loadfile(int fd, int *len) | |||
136 | } | 135 | } |
137 | lseek(fd,0,SEEK_SET); | 136 | lseek(fd,0,SEEK_SET); |
138 | 137 | ||
139 | c = read(fd, d, *len); | 138 | read(fd, d, *len); |
140 | 139 | ||
141 | return d; | 140 | return d; |
142 | } | 141 | } |