From: Yann Collet Date: Mon, 11 Sep 2017 21:37:03 +0000 (-0700) Subject: fixed pass-through warning X-Git-Tag: fuzz-corpora2~14^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f325ee4e84f2042e8c5747119db9160bcea52e96;p=thirdparty%2Fzstd.git fixed pass-through warning --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 616a3d581..884a4e00d 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