Remove Log Overriding for the Time Being

This commit is contained in:
W. Felix Handte 2018-09-12 12:28:53 -07:00
parent 77fd17d93f
commit 9d87d50878

View File

@ -1347,12 +1347,6 @@ static size_t ZSTD_resetCCtx_byAttachingCDict(
/* Copy only compression parameters related to tables. */
params.cParams = *cdict_cParams;
params.cParams.windowLog = windowLog;
DEBUGLOG(4, "Overriding hashLog from %d to %d", params.cParams.hashLog, cctx->requestedParams.cParams.hashLog);
DEBUGLOG(4, "Overriding chainLog from %d to %d", params.cParams.chainLog, cctx->requestedParams.cParams.chainLog);
if (cctx->requestedParams.cParams.hashLog)
params.cParams.hashLog = cctx->requestedParams.cParams.hashLog;
if (cctx->requestedParams.cParams.chainLog)
params.cParams.chainLog = cctx->requestedParams.cParams.chainLog;
ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize,
ZSTDcrp_continue, zbuff);
assert(cctx->appliedParams.cParams.strategy == cdict_cParams->strategy);