Refs #10397 squashing cppcheck warning