Use kNullRawSeqStore constant in zstdmt_compress.c

dev
senhuang42 2020-10-05 10:50:49 -04:00
parent 0325d878f2
commit 0731b94e7c
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ static size_t ZSTDMT_sizeof_seqPool(ZSTDMT_seqPool* seqPool)
static rawSeqStore_t bufferToSeq(buffer_t buffer)
{
rawSeqStore_t seq = {NULL, 0, 0, 0, 0};
rawSeqStore_t seq = kNullRawSeqStore;
seq.seq = (rawSeq*)buffer.start;
seq.capacity = buffer.capacity / sizeof(rawSeq);
return seq;