]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed impact of merge conflict for longRange
authorYann Collet <cyan@fb.com>
Fri, 1 Sep 2017 01:25:56 +0000 (18:25 -0700)
committerYann Collet <cyan@fb.com>
Fri, 1 Sep 2017 01:25:56 +0000 (18:25 -0700)
lib/compress/zstdmt_compress.c

index 93d4a3cec162b0bcc3ae69a6d2f9c32b1c3d61eb..20122f3593d3364090dd62eff4b26ff60d44a815 100644 (file)
@@ -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 :