Skip to content

enh(ci): fix CppCheck warnings

Lucas SCHMIDT requested to merge 880-enh-ci-fix-cppcheck-warnings into dev

Description

CppCheck, which was enabled in sight-git!46 (merged), discovered some problems in Sight code which I fixed with these changes. I have divided my MR with one commit for each detected warning, so that it should be easy to delete changes if one warning is considered irrelevant.

How to test it?

Launch all tests, they should all pass. Test the applications, there should be no regressions. Launch CppCheck, there should be no warnings.

Edited by Didier WECKMANN

Merge request reports