From: Yann Collet Date: Thu, 25 Aug 2016 20:42:46 +0000 (+0200) Subject: removed debug strings X-Git-Tag: v1.0.0^2~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d59a6f73aed76ed478f9f381b06b0e1240aa259;p=thirdparty%2Fzstd.git removed debug strings --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 64bb7d403..2350a56e5 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -2248,7 +2248,6 @@ static size_t ZSTD_compressBlock_internal(ZSTD_CCtx* zc, void* dst, size_t dstCa * Frame is supposed already started (header already produced) * @return : compressed size, or an error code */ -#include static size_t ZSTD_compress_generic (ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, @@ -2278,7 +2277,6 @@ static size_t ZSTD_compress_generic (ZSTD_CCtx* cctx, U32 const supLog = MAX(cctx->params.cParams.chainLog, 17 /* blockSize */); U32 const newLowLimit = (cctx->lowLimit & chainMask) + (1 << supLog); /* preserve position % chainSize, ensure current-repcode doesn't underflow */ U32 const correction = cctx->lowLimit - newLowLimit; - fprintf(stderr, "chainMask : %u \n", chainMask); ZSTD_reduceIndex(cctx, correction); cctx->base += correction; cctx->dictBase += correction;