From: Yann Collet Date: Wed, 12 Dec 2018 02:13:06 +0000 (-0800) Subject: removed exception code for overlapLog level 22 X-Git-Tag: v1.3.8~23^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c313a85ee2d7bf2921157a573dab6429f22300f1;p=thirdparty%2Fzstd.git removed exception code for overlapLog level 22 CLI used to set overlapLog at value 9 when level == 22. This is no longer necessary (handled internally within library) --- diff --git a/programs/fileio.c b/programs/fileio.c index 4e4adbdbb..004d71aa7 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -557,9 +557,6 @@ static cRess_t FIO_createCResources(const char* dictFileName, int cLevel, DISPLAYLEVEL(5,"set nb workers = %u \n", g_nbWorkers); CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_nbWorkers, g_nbWorkers) ); CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_jobSize, g_blockSize) ); - if ( (g_overlapLog == FIO_OVERLAP_LOG_NOTSET) - && (cLevel == ZSTD_maxCLevel()) ) - g_overlapLog = 9; /* full overlap */ if (g_overlapLog != FIO_OVERLAP_LOG_NOTSET) { DISPLAYLEVEL(3,"set overlapLog = %u \n", g_overlapLog); CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_overlapLog, g_overlapLog) );