forked from len0rd/rockbox
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:
parent
dd865bcd1e
commit
eea3c1cd94
1 changed files with 1 additions and 3 deletions
|
|
@ -379,10 +379,8 @@ static size_t mem_pos;
|
||||||
static int mem_cnt;
|
static int mem_cnt;
|
||||||
static int mem_maxlen;
|
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++];
|
*c = mem_buf[mem_pos++];
|
||||||
if(mem_pos >= mem_buflen)
|
if(mem_pos >= mem_buflen)
|
||||||
mem_pos = 0;
|
mem_pos = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue