crm_debug_2("Colored resource %s with new color %d",
crm_debug_3("Colored resource %s with new color %d",
native_assign_color(resource_t *rsc, color_t *color) {	color_t *local_color = add_color(rsc, color);	GListPtr intersection = NULL;	GListPtr old_list = NULL;	native_variant_data_t *native_data = NULL;	get_native_variant_data(native_data, rsc);	native_data->color = local_color;	rsc->provisional = FALSE;	if(local_color != NULL) {		(local_color->details->num_resources)++;		local_color->details->allocated_resources =			g_list_append(				local_color->details->allocated_resources,rsc);			intersection = node_list_and(				local_color->details->candidate_nodes, 				native_data->allowed_nodes, TRUE);			   			old_list = local_color->details->candidate_nodes;							pe_free_shallow(old_list);						local_color->details->candidate_nodes = intersection;							crm_debug_2("Colored resource %s with new color %d",				    rsc->id, native_data->color->id);						crm_action_debug_3(				print_resource("Colored Resource", rsc, TRUE));				} else {		pe_err("local color was NULL");	}		return;}