From f325ee4e84f2042e8c5747119db9160bcea52e96 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 11 Sep 2017 14:37:03 -0700 Subject: [PATCH] fixed pass-through warning --- lib/compress/zstd_compress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 616a3d58..884a4e00 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -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