remove cppcheck warning. re #9805