int lpc = 0, num_nodes = 0;
int num_nodes = 0;
int incarnation_num_allowed_nodes(resource_t *rsc){	int lpc = 0, num_nodes = 0;	incarnation_variant_data_t *incarnation_data = NULL;	if(rsc->variant == pe_incarnation) {		incarnation_data = (incarnation_variant_data_t *)rsc->variant_opaque;	} else {		crm_err("Resource %s was not an \"incarnation\" variant",			rsc->id);		return 0;	}	/* what *should* we return here? */	slist_iter(		child_rsc, resource_t, incarnation_data->child_list, lpc,		int tmp_num_nodes = child_rsc->fns->num_allowed_nodes(child_rsc);		if(tmp_num_nodes > num_nodes) {			num_nodes = tmp_num_nodes;		}		);	return num_nodes;}