refs #8371. Fix unused variable warning.