finalized minor warnings on Haiku
This commit is contained in:
@@ -7,7 +7,8 @@ cli : new command --adapt, for automatic compression level adaptation
|
|||||||
api : fix : block api can be streamed with > 4 GB, reported by @catid
|
api : fix : block api can be streamed with > 4 GB, reported by @catid
|
||||||
api : reduced ZSTD_DDict size by 2 KB
|
api : reduced ZSTD_DDict size by 2 KB
|
||||||
api : minimum negative compression level is defined, and can be queried using ZSTD_minCLevel().
|
api : minimum negative compression level is defined, and can be queried using ZSTD_minCLevel().
|
||||||
build: Reading legacy format is limited to v0.5+ by default. Can be changed at compile time using macro ZSTD_LEGACY_SUPPORT.
|
build: support Haiku target, by @korli
|
||||||
|
build: Read Legacy format is limited to v0.5+ by default. Can be changed at compile time with macro ZSTD_LEGACY_SUPPORT.
|
||||||
doc : zstd_compression_format.md updated to match wording in IETF RFC 8478
|
doc : zstd_compression_format.md updated to match wording in IETF RFC 8478
|
||||||
misc: tests/paramgrill, a parameter optimizer, by @GeorgeLu97
|
misc: tests/paramgrill, a parameter optimizer, by @GeorgeLu97
|
||||||
|
|
||||||
|
|||||||
@@ -3300,11 +3300,11 @@ static size_t ZSTDv05_decompressSequences(
|
|||||||
BYTE* const ostart = (BYTE* const)dst;
|
BYTE* const ostart = (BYTE* const)dst;
|
||||||
BYTE* op = ostart;
|
BYTE* op = ostart;
|
||||||
BYTE* const oend = ostart + maxDstSize;
|
BYTE* const oend = ostart + maxDstSize;
|
||||||
size_t errorCode, dumpsLength;
|
size_t errorCode, dumpsLength=0;
|
||||||
const BYTE* litPtr = dctx->litPtr;
|
const BYTE* litPtr = dctx->litPtr;
|
||||||
const BYTE* const litEnd = litPtr + dctx->litSize;
|
const BYTE* const litEnd = litPtr + dctx->litSize;
|
||||||
int nbSeq;
|
int nbSeq=0;
|
||||||
const BYTE* dumps;
|
const BYTE* dumps = NULL;
|
||||||
U32* DTableLL = dctx->LLTable;
|
U32* DTableLL = dctx->LLTable;
|
||||||
U32* DTableML = dctx->MLTable;
|
U32* DTableML = dctx->MLTable;
|
||||||
U32* DTableOffb = dctx->OffTable;
|
U32* DTableOffb = dctx->OffTable;
|
||||||
@@ -3413,10 +3413,10 @@ static size_t ZSTDv05_decompress_continueDCtx(ZSTDv05_DCtx* dctx,
|
|||||||
BYTE* const oend = ostart + maxDstSize;
|
BYTE* const oend = ostart + maxDstSize;
|
||||||
size_t remainingSize = srcSize;
|
size_t remainingSize = srcSize;
|
||||||
blockProperties_t blockProperties;
|
blockProperties_t blockProperties;
|
||||||
|
memset(&blockProperties, 0, sizeof(blockProperties));
|
||||||
|
|
||||||
/* Frame Header */
|
/* Frame Header */
|
||||||
{
|
{ size_t frameHeaderSize;
|
||||||
size_t frameHeaderSize;
|
|
||||||
if (srcSize < ZSTDv05_frameHeaderSize_min+ZSTDv05_blockHeaderSize) return ERROR(srcSize_wrong);
|
if (srcSize < ZSTDv05_frameHeaderSize_min+ZSTDv05_blockHeaderSize) return ERROR(srcSize_wrong);
|
||||||
frameHeaderSize = ZSTDv05_decodeFrameHeader_Part1(dctx, src, ZSTDv05_frameHeaderSize_min);
|
frameHeaderSize = ZSTDv05_decodeFrameHeader_Part1(dctx, src, ZSTDv05_frameHeaderSize_min);
|
||||||
if (ZSTDv05_isError(frameHeaderSize)) return frameHeaderSize;
|
if (ZSTDv05_isError(frameHeaderSize)) return frameHeaderSize;
|
||||||
|
|||||||
Reference in New Issue
Block a user