diff options
author | Yann Collet <cyan@fb.com> | 2018-09-18 23:52:02 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-09-18 23:52:02 (GMT) |
commit | 5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c (patch) | |
tree | 39084e05bdfd5f391d229b7ffff79ada08378d97 /tests/frametest.c | |
parent | 697bd904b256e9927b65d23e187adb5dddf39399 (diff) | |
download | lz4-5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c.zip lz4-5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c.tar.gz lz4-5a10ed2f7bb6fc9bffbabb2035ff1515e21bf25c.tar.bz2 |
added cppcheck
as Makefile target and Travis CI test.
Fixed last cppcheck warnings in tests and examples
Diffstat (limited to 'tests/frametest.c')
-rw-r--r-- | tests/frametest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/frametest.c b/tests/frametest.c index 4efeb6f..5714732 100644 --- a/tests/frametest.c +++ b/tests/frametest.c @@ -520,7 +520,7 @@ int basicTests(U32 seed, double compressibility) LZ4F_CDict* const cdict = LZ4F_createCDict(CNBuffer, dictSize); if (cdict == NULL) goto _output_error; CHECK( LZ4F_createCompressionContext(&cctx, LZ4F_VERSION) ); - + DISPLAYLEVEL(3, "LZ4F_compressFrame_usingCDict, with NULL dict : "); CHECK_V(cSizeNoDict, LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, @@ -840,7 +840,7 @@ int fuzzerTests(U32 seed, unsigned nbTests, unsigned startTest, double compressi size_t const iSize = MIN(sampleMax, (size_t)(iend-ip)); size_t const oSize = LZ4F_compressBound(iSize, prefsPtr); cOptions.stableSrc = ((FUZ_rand(&randState) & 3) == 1); - DISPLAYLEVEL(6, "Sending %zi bytes to compress (stableSrc:%u) \n", + DISPLAYLEVEL(6, "Sending %zu bytes to compress (stableSrc:%u) \n", iSize, cOptions.stableSrc); result = LZ4F_compressUpdate(cCtx, op, oSize, ip, iSize, &cOptions); |