From 1d81683e0896e8b82d133fb0e577b6c79263ff39 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sat, 3 Dec 2011 17:11:54 +0000 Subject: Fix red: Mark variable as unused the rockbox way git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31125 a1c6a512-1295-4272-9138-f99709370657 --- apps/mp3data.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/mp3data.c') 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; static int mem_cnt; static int mem_maxlen; -static int mem_getbyte(int /*dummy*/, unsigned char *c) +static int mem_getbyte(int dummy, unsigned char *c) { + (void)dummy; + *c = mem_buf[mem_pos++]; if(mem_pos >= mem_buflen) mem_pos = 0; -- cgit v1.2.3