last_stop_rsc = incarnation_data->self; last_start_rsc = incarnation_data->self;
void incarnation_create_actions(resource_t *rsc, pe_working_set_t *data_set){	gboolean child_starting = FALSE;	gboolean child_stopping = FALSE;	resource_t *last_stop_rsc = NULL;	resource_t *last_start_rsc = NULL;	incarnation_variant_data_t *incarnation_data = NULL;	get_incarnation_variant_data(incarnation_data, rsc);	last_stop_rsc = incarnation_data->self;	last_start_rsc = incarnation_data->self;		slist_iter(		child_rsc, resource_t, incarnation_data->child_list, lpc,		child_rsc->fns->create_actions(child_rsc, data_set);		if(incarnation_data->ordered == FALSE) {			child_rsc->stopping = FALSE;			child_rsc->starting = FALSE;			slist_iter(				action, action_t, child_rsc->actions, lpc,				if(action->optional) {					continue;				}							if(safe_str_eq(action->task, CRMD_ACTION_START)) {					child_rsc->starting = TRUE;									} else if(safe_str_eq(action->task, CRMD_ACTION_STOP)){					child_rsc->stopping = TRUE;				}			);		}