remove unused variable

closes #1570