Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiuwen-chen committed Aug 20, 2024
1 parent f85359b commit c203463
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/common/core/compression/CompressionCenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ Optional<Data> CompressionCenter::trainDict(DictId dictId, TrainDataEnumerator d
allData.buffer(),
dataSizes.data(),
(unsigned) dataSizes.size(),
&params,
NULL);
&params);
if (ZSTD_isError(dictSize)) {
Error error(Error::Code::ZstdError, Error::Level::Error, "Train dict failed");
error.infos.insert_or_assign("ZSTDErrorCode", dictSize);
Expand Down

0 comments on commit c203463

Please sign in to comment.