]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Remove Unused noRealloc CRP Value
authorW. Felix Handte <w@felixhandte.com>
Tue, 27 Aug 2019 19:21:59 +0000 (15:21 -0400)
committerW. Felix Handte <w@felixhandte.com>
Mon, 9 Sep 2019 17:34:08 +0000 (13:34 -0400)
lib/compress/zstd_compress.c

index 8abb7a480bbef3dae4bf7c74a4a01ec577995daa..663bfeac9c877ac66ee10c5ce4ff544656b4bc9f 100644 (file)
@@ -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,
                         &params.cParams,
-                        ZSTDcrp_noRealloc, ZSTD_resetTarget_CCtx));
+                        ZSTDcrp_noMemset, ZSTD_resetTarget_CCtx));
                 }
                 return ZSTD_continueCCtx(zc, &params, pledgedSrcSize);
     }   }   }