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
This commit is contained in:
Thomas Jarosch 2011-12-03 17:06:44 +00:00
parent dd865bcd1e
commit eea3c1cd94

View file

@ -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;