cppcheck: Variable is assigned in constructor body
cppcheck: Possible innefficient checking for emptiness
cppcheck: extra qualification is unnecessary

and could be considered as error
Merge pull request #424 from karolherbst/cppcheck_fixes

Cppcheck fixes