Resolve "cppcheck reporting miscellaneous issues"

Mark Andrews requested to merge 202-cppcheck-reporting-miscellaneous-issues into master

Closes #202 (closed)

Edited by Ondřej Surý

Merge request reports