My working unpac space for OCaml projects in development
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #4500 from facebook/legacy01_init

fix minor initialization warnings

authored by

Yann Collet and committed by
GitHub
27d09469 25470b89

+5 -4
+5 -4
vendor/git/zstd-c/lib/legacy/zstd_v01.c
··· 1823 1823 BYTE* const ostart = (BYTE* const)dst; 1824 1824 BYTE* op = ostart; 1825 1825 BYTE* const oend = ostart + maxDstSize; 1826 - size_t errorCode, dumpsLength; 1826 + size_t errorCode = 0; 1827 + size_t dumpsLength = 0; 1827 1828 const BYTE* litPtr = litStart; 1828 1829 const BYTE* const litEnd = litStart + litSize; 1829 - int nbSeq; 1830 - const BYTE* dumps; 1830 + int nbSeq = 0; 1831 + const BYTE* dumps = NULL; 1831 1832 U32* DTableLL = dctx->LLTable; 1832 1833 U32* DTableML = dctx->MLTable; 1833 1834 U32* DTableOffb = dctx->OffTable; ··· 1915 1916 size_t remainingSize = srcSize; 1916 1917 U32 magicNumber; 1917 1918 size_t errorCode=0; 1918 - blockProperties_t blockProperties; 1919 + blockProperties_t blockProperties = { 0 }; 1919 1920 1920 1921 /* Frame Header */ 1921 1922 if (srcSize < ZSTD_frameHeaderSize+ZSTD_blockHeaderSize) return ERROR(srcSize_wrong);