remove cppcheck warning. re #9805
Merge branch 'feature/9805_bilby_eventdata' into develop