From 875308f31f23949e297dbed525d982269a95fced Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 27 Aug 2020 00:38:58 -0700 Subject: [PATCH] fixed strict c90 support --- tests/fuzzer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/fuzzer.c b/tests/fuzzer.c index beeb9d6..c385afe 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -623,8 +623,6 @@ static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double c size_t const extraneousInBytes = FUZ_rand(&randState) % 2; int const inCSize = (int)((size_t)compressedSize + extraneousInBytes); char const sentinel = decodedBuffer[targetSize] = block[targetSize] ^ 0x5A; - DISPLAYLEVEL(6,"compressedSize=%i, inCSize=%i \n", compressedSize, inCSize); - DISPLAYLEVEL(6,"decompressedSize=%i, targetDstSize=%i \n", blockSize, targetSize); int const decResult = LZ4_decompress_safe_partial(compressedBuffer, decodedBuffer, inCSize, targetSize, blockSize); FUZ_CHECKTEST(decResult<0, "LZ4_decompress_safe_partial failed despite valid input data (error:%i)", decResult); FUZ_CHECKTEST(decResult != targetSize, "LZ4_decompress_safe_partial did not regenerated required amount of data (%i < %i <= %i)", decResult, targetSize, blockSize);