Abort if Unsupported Parameters Used

This commit is contained in:
W. Felix Handte
2023-05-04 12:18:58 -04:00
parent f242f5be8f
commit b7add1dd67
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -248,6 +248,8 @@ static size_t ZSTD_ldm_fillFastTables(ZSTD_matchState_t* ms,
case ZSTD_dfast:
#ifndef ZSTD_EXCLUDE_DFAST_BLOCK_COMPRESSOR
ZSTD_fillDoubleHashTable(ms, iend, ZSTD_dtlm_fast, ZSTD_tfp_forCCtx);
#else
assert(0); /* shouldn't be called: cparams should've been adjusted. */
#endif
break;