forked from enlightenment/terminology
lz4: fix shadow variables, again…
This commit is contained in:
parent
5db4ef8519
commit
3afe93fd71
|
@ -986,9 +986,9 @@ FORCE_INLINE int LZ4_decompress_generic(
|
||||||
copySize = length+MINMATCH - copySize;
|
copySize = length+MINMATCH - copySize;
|
||||||
if (copySize > (size_t)((char*)op-dest)) /* overlap */
|
if (copySize > (size_t)((char*)op-dest)) /* overlap */
|
||||||
{
|
{
|
||||||
BYTE* const cpy = op + copySize;
|
BYTE* const cpy2 = op + copySize;
|
||||||
const BYTE* ref = (BYTE*)dest;
|
const BYTE* ref2 = (BYTE*)dest;
|
||||||
while (op < cpy) *op++ = *ref++;
|
while (op < cpy2) *op++ = *ref2++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue