Removed unused variable. re #8498
Merge branch 'feature/8498_loadmcstas' into develop