Cppcheck fixes

Ing. Jan Trávníček requested to merge cppcheck_fixes into master

Merge request reports