diff --git a/lib/compress/zstd_lazy.c b/lib/compress/zstd_lazy.c index d39398401..684e7e56e 100644 --- a/lib/compress/zstd_lazy.c +++ b/lib/compress/zstd_lazy.c @@ -611,10 +611,6 @@ size_t ZSTD_HcFindBestMatch_generic ( return ml; } } - - if (matchIndex <= ddsMinChain) { - return ml; - } } for ( ; (ddsAttempt < nbAttempts) & (matchIndex >= ddsMinChain); ddsAttempt++) {