From eea3c1cd94a2686bbe3a18cc8330a0030e05b4e2 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sat, 3 Dec 2011 17:06:44 +0000 Subject: [PATCH] Remove redundant assigment to "dummy" variable It was probably in there to silence a gcc warning about unused variable "dummy". Detected by cppcheck. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31124 a1c6a512-1295-4272-9138-f99709370657 --- apps/mp3data.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/mp3data.c b/apps/mp3data.c index 79baec3df2..4944e02f48 100644 --- a/apps/mp3data.c +++ b/apps/mp3data.c @@ -379,10 +379,8 @@ 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) { - dummy = dummy; - *c = mem_buf[mem_pos++]; if(mem_pos >= mem_buflen) mem_pos = 0;