mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Backport r31124 - 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/branches/v3_10@31126 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dbcd21f3b5
commit
689285bd8e
1 changed files with 2 additions and 2 deletions
|
|
@ -382,8 +382,8 @@ static int mem_maxlen;
|
||||||
|
|
||||||
static int mem_getbyte(int dummy, unsigned char *c)
|
static int mem_getbyte(int dummy, unsigned char *c)
|
||||||
{
|
{
|
||||||
dummy = dummy;
|
(void)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