Refs #8839. Remove unused variable declarations.