]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update zstd_compress.c 2291/head
authori-do-cpp <62053234+i-do-cpp@users.noreply.github.com>
Mon, 31 Aug 2020 07:34:08 +0000 (09:34 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Aug 2020 07:34:08 +0000 (09:34 +0200)
lib/compress/zstd_compress.c

index 25160d0d9197aa47c0ad0a7370e9b7e6fb0cab1e..3f9fe5261bb81b4adbe3fa9ca68a33706c9c6f41 100644 (file)
@@ -544,7 +544,6 @@ size_t ZSTD_CCtxParams_setParameter(ZSTD_CCtx_params* CCtxParams,
             CCtxParams->compressionLevel = ZSTD_CLEVEL_DEFAULT; /* 0 == default */
         else
             CCtxParams->compressionLevel = value;
-        }
         if (CCtxParams->compressionLevel >= 0) return (size_t)CCtxParams->compressionLevel;
         return 0;  /* return type (size_t) cannot represent negative values */
     }