Fixed compiler warning

stopped a gcc compiler warning complaing about an unused variable

Refs #7865
Merge branch 'bugfix/7865_fix_color_fill_axes_options' into develop