cppcheck fixes

Fixes, warning suppressions and a slighly improved ci-cppcheck.sh (version info and streaming error output).

Edited by Martin Heistermann

Merge request reports

Loading