Fixed cppcheck warnings
Merge remote-tracking branch 'origin/master'