From 5f0ef5bb6385e084b259d1a1202b2a92fc730562 Mon Sep 17 00:00:00 2001 From: "yann.collet.73@gmail.com" Date: Thu, 6 Oct 2011 11:24:04 +0000 Subject: [PATCH] code refactoring git-svn-id: https://lz4.googlecode.com/svn/trunk@36 650e7d94-2a16-8b24-b05c-7c0b3f6821cd --- lz4.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lz4.c b/lz4.c index 9ccf0d6..a5cb605 100644 --- a/lz4.c +++ b/lz4.c @@ -217,16 +217,13 @@ _next_match: // Start Counting ip+=MINMATCH; ref+=MINMATCH; // MinMatch verified anchor = ip; - while (ipmatchlimit-4) { ref -= ip - (matchlimit-3); ip = matchlimit-3; break; } } - if ((ip<(matchlimit-1)) && (A16(ref) == A16(ip))) { ip+=2; ref+=2; } - if ((ip