From: Yann Collet Date: Sun, 22 Jan 2017 05:56:36 +0000 (-0800) Subject: minor : tab to spaces X-Git-Tag: v1.1.3^2~19^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ed29a8f44797d51adabb1fd5a77272502d5dc26;p=thirdparty%2Fzstd.git minor : tab to spaces --- diff --git a/lib/compress/zstdmt_compress.c b/lib/compress/zstdmt_compress.c index 48717de20..1ddb53877 100644 --- a/lib/compress/zstdmt_compress.c +++ b/lib/compress/zstdmt_compress.c @@ -124,12 +124,12 @@ static buffer_t ZSTDMT_getBuffer(ZSTDMT_bufferPool* pool, size_t bSize) } /* create new buffer */ { buffer_t buffer; - void* const start = malloc(bSize); + void* const start = malloc(bSize); if (start==NULL) bSize = 0; - buffer.start = start; /* note : start can be NULL if malloc fails ! */ - buffer.size = bSize; - return buffer; - } + buffer.start = start; /* note : start can be NULL if malloc fails ! */ + buffer.size = bSize; + return buffer; + } } /* store buffer for later re-use, up to pool capacity */ @@ -355,7 +355,7 @@ size_t ZSTDMT_compressCCtx(ZSTDMT_CCtx* mtctx, for (u=0; ubuffPool, dstBufferCapacity) : dstAsBuffer; ZSTD_CCtx* const cctx = ZSTDMT_getCCtx(mtctx->cctxPool);