refs #10365. Fix warnings.
Merge branch 'feature/10365_slice_viewer_crash' into develop