remove unused variable declarations