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(sampleSizes);
|
||||
if (dictWriteSize != dictSize && ZDICT_isError(dictWriteSize)) {
|
||||
if (ZDICT_isError(dictWriteSize)) {
|
||||
DISPLAY("Could not finalize dictionary: %s\n", ZDICT_getErrorName(dictWriteSize));
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user