ast: Remove reference to unused variable