return state; 
return group_role; 
group_resource_state(resource_t *rsc){	rsc_state_t state = rsc_unknown;	rsc_state_t last_state = rsc_unknown;	group_variant_data_t *group_data = NULL;	get_group_variant_data(group_data, rsc);	slist_iter(		child_rsc, resource_t, group_data->child_list, lpc,				last_state = child_rsc->fns->state(child_rsc);		switch(last_state) {			case rsc_unknown:			case rsc_move:				return last_state;				break;			case rsc_restart:				CRM_DEV_ASSERT(state != rsc_stopping);				CRM_DEV_ASSERT(state != rsc_stopped);/* 				CRM_DEV_ASSERT(state != rsc_active); */				state = last_state;				break;			case rsc_active:/* 				CRM_DEV_ASSERT(state != rsc_restart); */				CRM_DEV_ASSERT(state != rsc_stopping);				if(last_state == rsc_unknown) {					state = last_state;				}				break;			case rsc_stopped:				CRM_DEV_ASSERT(state != rsc_restart);				CRM_DEV_ASSERT(state != rsc_starting);				if(last_state == rsc_unknown) {					state = last_state;				}				break;			case rsc_starting:				CRM_DEV_ASSERT(state != rsc_stopped);				if(state != rsc_restart) {					state = last_state;				}				break;							case rsc_stopping:				CRM_DEV_ASSERT(state != rsc_active);				if(state != rsc_restart) {					state = last_state;				}				break;				}		);	return state;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/2065bca105e40a57c710c374a7c857a783430218/group.c/buggy/crm/pengine/group.c