mirror of
https://github.com/facebook/zstd.git
synced 2025-10-09 00:05:28 -04:00
Remove Unused noRealloc CRP Value
This commit is contained in:
parent
901bba4ca6
commit
7321e4c9f3
@ -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,
|
||||||
¶ms.cParams,
|
¶ms.cParams,
|
||||||
ZSTDcrp_noRealloc, ZSTD_resetTarget_CCtx));
|
ZSTDcrp_noMemset, ZSTD_resetTarget_CCtx));
|
||||||
}
|
}
|
||||||
return ZSTD_continueCCtx(zc, ¶ms, pledgedSrcSize);
|
return ZSTD_continueCCtx(zc, ¶ms, pledgedSrcSize);
|
||||||
} } }
|
} } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user