fixed pass-through warning

This commit is contained in:
Yann Collet 2017-09-11 14:37:03 -07:00
parent 0d6ecc72a3
commit f325ee4e84

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