Remove unused variable

closes #2345