Fix several Cppcheck findings

Merge request reports

Loading