fixed pass-through warning

dev
Yann Collet 2017-09-11 14:37:03 -07:00
parent 0d6ecc72a3
commit f325ee4e84
1 changed files with 1 additions and 0 deletions

View File

@ -389,6 +389,7 @@ size_t ZSTD_CCtxParam_setParameter(
if (value == 0) return 0;
#ifndef ZSTD_MULTITHREAD
if (value > 1) return ERROR(parameter_unsupported);
return 0;
#else
return ZSTDMT_initializeCCtxParameters(params, value);
#endif