From: senhuang42 Date: Mon, 5 Oct 2020 14:50:49 +0000 (-0400) Subject: Use kNullRawSeqStore constant in zstdmt_compress.c X-Git-Tag: v1.4.7~57^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0731b94e7c326584fc9f4b02139925ad20bc5e25;p=thirdparty%2Fzstd.git Use kNullRawSeqStore constant in zstdmt_compress.c --- diff --git a/lib/compress/zstdmt_compress.c b/lib/compress/zstdmt_compress.c index f789ae5bf..06462fe5a 100644 --- a/lib/compress/zstdmt_compress.c +++ b/lib/compress/zstdmt_compress.c @@ -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;