summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-12-03 17:06:44 +0000
committerThomas Jarosch <tomj@simonv.com>2011-12-03 17:06:44 +0000
commiteea3c1cd94a2686bbe3a18cc8330a0030e05b4e2 (patch)
tree793444ab6973221735ae9817dade48ee8107355d /apps
parentdd865bcd1ef03b32df1bd65508e991d0ae9e5f63 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/mp3data.c4
1 files changed, 1 insertions, 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;