From 3afe93fd71f4df7a6f64eb7286399496eb9be737 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Tue, 15 Jul 2014 12:32:58 +0200 Subject: [PATCH] =?UTF-8?q?lz4:=20fix=20shadow=20variables,=20again?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/lz4/lz4.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/lz4/lz4.c b/src/bin/lz4/lz4.c index 482a8ede..b30d4458 100644 --- a/src/bin/lz4/lz4.c +++ b/src/bin/lz4/lz4.c @@ -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 {