[FIX] cppcheck performance fixes
Merge pull request #3 from timosachsenberg/feature/coding-style-improvements

[FIX] cppcheck performance fixes @timosachsenberg