fixed minor declaration-after-statement warning

dev
Yann Collet 2018-01-25 17:45:18 -08:00
parent a1d4041e69
commit 777d3c1559
1 changed files with 4 additions and 3 deletions

View File

@ -2032,10 +2032,11 @@ static size_t ZSTD_writeFrameHeader(void* dst, size_t dstCapacity,
size_t ZSTD_writeLastEmptyBlock(void* dst, size_t dstCapacity)
{
if (dstCapacity < ZSTD_blockHeaderSize) return ERROR(dstSize_tooSmall);
U32 const cBlockHeader24 = 1 /*lastBlock*/ + (((U32)bt_raw)<<1); /* 0 size */
{ U32 const cBlockHeader24 = 1 /*lastBlock*/ + (((U32)bt_raw)<<1); /* 0 size */
MEM_writeLE24(dst, cBlockHeader24);
return ZSTD_blockHeaderSize;
}
}
static void ZSTD_manageWindowContinuity(ZSTD_matchState_t* ms, void const* src, size_t srcSize)