adding result of running cppcheck on the source code, for future reference