tried to clean another bunch of cppcheck warnings
authorYann Collet <cyan@fb.com>
Wed, 19 Sep 2018 01:08:59 +0000 (18:08 -0700)
committerYann Collet <cyan@fb.com>
Wed, 19 Sep 2018 19:12:49 +0000 (12:12 -0700)
commitb2215f2a8996e0cfd0d1950968c1ab43733be161
tree5abbcfea7cc2ac9323bd2a4f302abcc3cd264fd0
parente75d04791fdb53056a1ae7892e9e41c89e34640e
tried to clean another bunch of cppcheck warnings

so "funny" thing with cppcheck
is that no 2 versions give the same list of warnings.

On Mac, I'm using v1.81, which had all warnings fixed.
On Travis CI, it's v1.61, and it complains about a dozen more/different things.
On Linux, it's v1.72, and it finds a completely different list of a half dozen warnings.

Some of these seems to be bugs/limitations in cppcheck itself.
The TravisCI version v1.61 seems unable to understand %zu correctly, and seems to assume it means %u.
examples/frameCompress.c
lib/lz4.c
programs/lz4io.c
tests/frametest.c