diff options
author | Thomas Jarosch <tomj@simonv.com> | 2011-12-03 17:06:44 +0000 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2011-12-03 17:06:44 +0000 |
commit | eea3c1cd94a2686bbe3a18cc8330a0030e05b4e2 (patch) | |
tree | 793444ab6973221735ae9817dade48ee8107355d | |
parent | dd865bcd1ef03b32df1bd65508e991d0ae9e5f63 (diff) | |
download | rockbox-eea3c1cd94a2686bbe3a18cc8330a0030e05b4e2.tar.gz rockbox-eea3c1cd94a2686bbe3a18cc8330a0030e05b4e2.zip |
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
-rw-r--r-- | apps/mp3data.c | 4 |
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; | |||
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 | dummy = dummy; | ||
385 | |||
386 | *c = mem_buf[mem_pos++]; | 384 | *c = mem_buf[mem_pos++]; |
387 | if(mem_pos >= mem_buflen) | 385 | if(mem_pos >= mem_buflen) |
388 | mem_pos = 0; | 386 | mem_pos = 0; |