diff --git a/programs/paramgrill.c b/programs/paramgrill.c index 02fd240f0..99ac909fe 100644 --- a/programs/paramgrill.c +++ b/programs/paramgrill.c @@ -1007,8 +1007,6 @@ int main(int argc, char** argv) argument++; while ((*argument>= '0') && (*argument<='9')) cLevel *= 10, cLevel += *argument++ - '0'; - if (cLevel < 1) cLevel = 1; - if (cLevel > ZSTD_MAX_CLEVEL) cLevel = ZSTD_MAX_CLEVEL; g_params = g_seedParams[cLevel]; continue; } diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 5b74df62c..418fec70b 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -70,7 +70,7 @@ **************************************/ #define COMPRESSOR_NAME "zstd command line interface" #ifndef ZSTD_VERSION -# define ZSTD_VERSION "v0.3.6" +# define ZSTD_VERSION "v0.4.0" #endif #define AUTHOR "Yann Collet" #define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), ZSTD_VERSION, AUTHOR, __DATE__