lz4: fix shadow variables, again…

This commit is contained in:
Boris Faure 2014-07-15 12:32:58 +02:00
parent 5db4ef8519
commit 3afe93fd71
1 changed files with 3 additions and 3 deletions

View File

@ -986,9 +986,9 @@ FORCE_INLINE int LZ4_decompress_generic(
copySize = length+MINMATCH - copySize;
if (copySize > (size_t)((char*)op-dest)) /* overlap */
{
BYTE* const cpy = op + copySize;
const BYTE* ref = (BYTE*)dest;
while (op < cpy) *op++ = *ref++;
BYTE* const cpy2 = op + copySize;
const BYTE* ref2 = (BYTE*)dest;
while (op < cpy2) *op++ = *ref2++;
}
else
{