1
0
Fork 0
forked from len0rd/rockbox

Remove useless assignment of 'len'

The variable 'len' is not used after this statement.
Probably a copy'n'paste leftover from the similar
looking block above.

cppcheck reported:
[rockbox/utils/zenutils/source/shared/cenc.cpp:212]: (style) Same expression on both sides of '-'.

Change-Id: Ia8357187ed39d3fab10d97df75a1146c4f733790
This commit is contained in:
Thomas Jarosch 2014-12-20 15:52:35 +01:00
parent 515a07e51d
commit 29ffa832fe

View file

@ -209,7 +209,6 @@ int encode_run(byte* dst, int& dstidx, byte val, int len, int dstlen)
int tmp = encode_run(dst, dstidx, val, len, dstlen);
if (!tmp) return 0;
ret += tmp;
len -= len;
}
}