diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 7357a70a..e92f3e37 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -2562,7 +2562,6 @@ size_t ZSTD_getSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs, seqCollector.seqStart = outSeqs; seqCollector.seqIndex = 0; seqCollector.maxSequences = outSeqsSize; - seqCollector.format = format; zc->seqCollector = seqCollector; ZSTD_compress2(zc, dst, dstCapacity, src, srcSize); @@ -2586,7 +2585,7 @@ size_t ZSTD_getSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs, } zc->seqCollector.seqIndex = totalSeqs; } - + return zc->seqCollector.seqIndex; } diff --git a/lib/compress/zstd_compress_internal.h b/lib/compress/zstd_compress_internal.h index e11f1dbd..3ff318d5 100644 --- a/lib/compress/zstd_compress_internal.h +++ b/lib/compress/zstd_compress_internal.h @@ -206,7 +206,6 @@ typedef struct { ZSTD_Sequence* seqStart; size_t seqIndex; size_t maxSequences; - ZSTD_sequenceFormat_e format; } SeqCollector; struct ZSTD_CCtx_params_s {