diff --git a/src/common/core/compression/CompressionCenter.cpp b/src/common/core/compression/CompressionCenter.cpp index c9e16b8d4..8286409c3 100644 --- a/src/common/core/compression/CompressionCenter.cpp +++ b/src/common/core/compression/CompressionCenter.cpp @@ -161,8 +161,7 @@ Optional CompressionCenter::trainDict(DictId dictId, TrainDataEnumerator d allData.buffer(), dataSizes.data(), (unsigned) dataSizes.size(), - ¶ms, - NULL); + ¶ms); if (ZSTD_isError(dictSize)) { Error error(Error::Code::ZstdError, Error::Level::Error, "Train dict failed"); error.infos.insert_or_assign("ZSTDErrorCode", dictSize);