From: Yann Collet Date: Fri, 1 Sep 2017 01:25:56 +0000 (-0700) Subject: fixed impact of merge conflict for longRange X-Git-Tag: fuzz-corpora2~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=369c29dd1a953d91e581cf559cf8bd5b002b525f;p=thirdparty%2Fzstd.git fixed impact of merge conflict for longRange --- diff --git a/lib/compress/zstdmt_compress.c b/lib/compress/zstdmt_compress.c index 93d4a3cec..20122f359 100644 --- a/lib/compress/zstdmt_compress.c +++ b/lib/compress/zstdmt_compress.c @@ -447,8 +447,6 @@ ZSTDMT_CCtx* ZSTDMT_createCCtx_advanced(unsigned nbThreads, ZSTD_customMem cMem) ZSTDMT_initializeCCtxParameters(&mtctx->params, nbThreads); mtctx->cMem = cMem; mtctx->allJobsCompleted = 1; - mtctx->sectionSize = 0; - mtctx->overlapLog = ZSTDMT_OVERLAPLOG_DEFAULT; mtctx->factory = POOL_create_advanced(nbThreads, 0, cMem); mtctx->jobs = ZSTDMT_allocJobsTable(&nbJobs, cMem); mtctx->jobIDMask = nbJobs - 1; @@ -528,7 +526,7 @@ size_t ZSTDMT_CCtxParam_setMTCtxParameter( params->jobSize = value; return 0; case ZSTDMT_p_overlapSectionLog : - DEBUGLOG(5, "ZSTDMT_p_overlapSectionLog : %u", value); + DEBUGLOG(4, "ZSTDMT_p_overlapSectionLog : %u", value); params->overlapSizeLog = (value >= 9) ? 9 : value; return 0; default :