changed error condition
This commit is contained in:
parent
b8237c6c66
commit
551fb7ca05
@ -1222,7 +1222,7 @@ static int genRandomDict(U32 dictID, U32 seed, size_t dictSize, BYTE* fullDict){
|
|||||||
|
|
||||||
free(samples);
|
free(samples);
|
||||||
free(sampleSizes);
|
free(sampleSizes);
|
||||||
if (dictWriteSize != dictSize && ZDICT_isError(dictWriteSize)) {
|
if (ZDICT_isError(dictWriteSize)) {
|
||||||
DISPLAY("Could not finalize dictionary: %s\n", ZDICT_getErrorName(dictWriteSize));
|
DISPLAY("Could not finalize dictionary: %s\n", ZDICT_getErrorName(dictWriteSize));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user