Refs #9763 fix cppcheck error