Refs #8839. Remove unused variable declarations.
Merge branch 'feature/8839_loadmuonnexus_autogroup_using_muongroupdet' into develop