diff options
Diffstat (limited to 'apps/mp3data.c')
-rw-r--r-- | apps/mp3data.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/mp3data.c b/apps/mp3data.c index 4944e02f48..13ff0a87a7 100644 --- a/apps/mp3data.c +++ b/apps/mp3data.c | |||
@@ -379,8 +379,10 @@ static size_t mem_pos; | |||
379 | static int mem_cnt; | 379 | static int mem_cnt; |
380 | static int mem_maxlen; | 380 | static int mem_maxlen; |
381 | 381 | ||
382 | static int mem_getbyte(int /*dummy*/, unsigned char *c) | 382 | static int mem_getbyte(int dummy, unsigned char *c) |
383 | { | 383 | { |
384 | (void)dummy; | ||
385 | |||
384 | *c = mem_buf[mem_pos++]; | 386 | *c = mem_buf[mem_pos++]; |
385 | if(mem_pos >= mem_buflen) | 387 | if(mem_pos >= mem_buflen) |
386 | mem_pos = 0; | 388 | mem_pos = 0; |