Fix cppcheck issue