mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
Use kNullRawSeqStore constant in zstdmt_compress.c
This commit is contained in:
parent
0325d878f2
commit
0731b94e7c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user