[flac-dev] [PATCH] Fix cppcheck warnings

Rosen Penev rosenp at gmail.com
Thu Jan 19 07:39:33 UTC 2017


fedora comes with 1.75 so I used that. I also used some additional
flags: cppcheck --enable=all --inconclusive --std=posix --force

On Wed, Jan 18, 2017 at 11:36 PM, Erik de Castro Lopo
<mle+la at mega-nerd.com> wrote:
> Rosen Penev wrote:
>
>>  src/libFLAC/bitreader.c         | 4 ++--
>>  src/libFLAC/bitwriter.c         | 4 ++--
>>  src/plugin_xmms/plugin.c        | 2 +-
>>  src/share/utf8/charset.c        | 1 +
>>  src/test_libFLAC++/encoders.cpp | 8 ++++----
>>  src/test_libFLAC/decoders.c     | 4 ++--
>>  src/test_libFLAC/encoders.c     | 8 ++++----
>>  7 files changed, 16 insertions(+), 15 deletions(-)
>
> Interesting! What version of cppcheck are you running? With what
> options? I currently run cppcheck over FLAC in CI.
>
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> flac-dev mailing list
> flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev


More information about the flac-dev mailing list