[#1404] Fix cppcheck error