re #10230 cppcheck warning