Fix cppcheck