Refs #10349 Resolve cppcheck warning