Code checked by cppcheck