From c20346307c2b4e7ac755a826d462032a6f93a077 Mon Sep 17 00:00:00 2001 From: qiuwenchen Date: Tue, 20 Aug 2024 15:27:23 +0800 Subject: [PATCH] Fix compile error --- src/common/core/compression/CompressionCenter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);