From: W. Felix Handte Date: Tue, 27 Aug 2019 19:21:59 +0000 (-0400) Subject: Remove Unused noRealloc CRP Value X-Git-Tag: v1.4.4~1^2~57^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7321e4c9f3c79f88b0e60eaf23615e03a751719b;p=thirdparty%2Fzstd.git Remove Unused noRealloc CRP Value --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 8abb7a480..663bfeac9 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -1357,7 +1357,7 @@ static size_t ZSTD_continueCCtx(ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params, return 0; } -typedef enum { ZSTDcrp_continue, ZSTDcrp_noMemset, ZSTDcrp_noRealloc } ZSTD_compResetPolicy_e; +typedef enum { ZSTDcrp_continue, ZSTDcrp_noMemset } ZSTD_compResetPolicy_e; typedef enum { ZSTD_resetTarget_CDict, ZSTD_resetTarget_CCtx } ZSTD_resetTarget_e; @@ -1461,7 +1461,7 @@ static size_t ZSTD_resetCCtx_internal(ZSTD_CCtx* zc, &zc->blockState.matchState, &zc->workspace, ¶ms.cParams, - ZSTDcrp_noRealloc, ZSTD_resetTarget_CCtx)); + ZSTDcrp_noMemset, ZSTD_resetTarget_CCtx)); } return ZSTD_continueCCtx(zc, ¶ms, pledgedSrcSize); } } }