Remove Unused noRealloc CRP Value

This commit is contained in:
W. Felix Handte 2019-08-27 15:21:59 -04:00
parent 901bba4ca6
commit 7321e4c9f3

View File

@ -1357,7 +1357,7 @@ static size_t ZSTD_continueCCtx(ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params,
return 0; 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; 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->blockState.matchState,
&zc->workspace, &zc->workspace,
&params.cParams, &params.cParams,
ZSTDcrp_noRealloc, ZSTD_resetTarget_CCtx)); ZSTDcrp_noMemset, ZSTD_resetTarget_CCtx));
} }
return ZSTD_continueCCtx(zc, &params, pledgedSrcSize); return ZSTD_continueCCtx(zc, &params, pledgedSrcSize);
} } } } } }