} else if(rsc->color->details->pending == FALSE) {
} else if(color->details->pending == FALSE) {
stage4(GListPtr resources){	int lpc = 0;	int lpc2 = 0;	slist_iter(		rsc, resource_t, resources, lpc,		if(rsc->color == NULL) {			crm_err("No color associated with %s", rsc->id);			continue;					} else if(rsc->color->details->pending == FALSE) {			continue;		}				choose_node_from_list(rsc->color);				slist_iter(			constraint, rsc_to_rsc_t, rsc->rsc_cons, lpc2,						if(constraint->variant != same_node) {				continue;			}			/* remove the node from the other color */			color_t *other_c = constraint->rsc_rh->color;						node_t *other_n = pe_find_node(				other_c->details->candidate_nodes,				safe_val6(NULL, rsc, color, details,					  chosen_node, details, uname));			if(other_c == NULL) {				crm_err("No color associated with %s", constraint->id);				continue;			} else if(other_n == NULL) {				crm_err("No node associated with rsc/color %s/%d",					rsc->id, rsc->color->id);				continue;			}						switch(constraint->strength) {				case pecs_must_not:										other_c->details->candidate_nodes =						g_list_remove(							other_c->details->candidate_nodes,							other_n);								crm_free(other_n);					break;				case pecs_should_not:					other_n->weight = -1;					break;				default:					break;			}						);		);	crm_verbose("done");	return TRUE;	}