Refs #8961 Fixes unused variable