clear cppcheck warnings