Remove a declaration for an unused variable.