Merge branch 'dev' into fuzz-max-block-size

This commit is contained in:
daniellerozenblit
2023-01-04 16:34:07 -05:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -675,7 +675,7 @@ static int ZSTD_isUpdateAuthorized(ZSTD_cParameter param)
case ZSTD_c_deterministicRefPrefix:
case ZSTD_c_prefetchCDictTables:
case ZSTD_c_enableMatchFinderFallback:
case ZSTD_c_maxBlockSize:
case ZSTD_c_maxBlockSize
default:
return 0;
}
@@ -975,7 +975,7 @@ size_t ZSTD_CCtxParams_setParameter(ZSTD_CCtx_params* CCtxParams,
BOUNDCHECK(ZSTD_c_maxBlockSize, value);
CCtxParams->maxBlockSize = value;
return CCtxParams->prefetchCDictTables;
default: RETURN_ERROR(parameter_unsupported, "unknown parameter");
}
}
-1
View File
@@ -502,7 +502,6 @@ typedef enum {
ZSTD_c_experimentalParam16=1013,
ZSTD_c_experimentalParam17=1014,
ZSTD_c_experimentalParam18=1015,
} ZSTD_cParameter;
typedef struct {