diff options
| author | Conrad Meyer <cem@FreeBSD.org> | 2019-08-08 15:37:56 +0000 |
|---|---|---|
| committer | Conrad Meyer <cem@FreeBSD.org> | 2019-08-08 15:37:56 +0000 |
| commit | 90f4bdbe917eaf678feca2b0ff9647b5ae8bbb9d (patch) | |
| tree | c579df59365bfa4e51bc36e8259711c1f01670de /programs/zstdcli.c | |
| parent | fa94c7381af469a06d8f9077162c2cc5dee581cb (diff) | |
Notes
Diffstat (limited to 'programs/zstdcli.c')
| -rw-r--r-- | programs/zstdcli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/zstdcli.c b/programs/zstdcli.c index a13c924c5ce0..de286cdf283e 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -294,13 +294,14 @@ static unsigned longCommandWArg(const char** stringPtr, const char* longCommand) #ifndef ZSTD_NODICT + +static const unsigned kDefaultRegression = 1; /** * parseCoverParameters() : * reads cover parameters from *stringPtr (e.g. "--train-cover=k=48,d=8,steps=32") into *params * @return 1 means that cover parameters were correct * @return 0 in case of malformed parameters */ -static const unsigned kDefaultRegression = 1; static unsigned parseCoverParameters(const char* stringPtr, ZDICT_cover_params_t* params) { memset(params, 0, sizeof(*params)); |
