native_variant_data_t *native_data = (native_variant_data_t *)rsc->variant_opaque;
native_variant_data_t *native_data = NULL;
void native_color(resource_t *rsc, GListPtr *colors){	color_t *new_color = NULL;	native_variant_data_t *native_data =		(native_variant_data_t *)rsc->variant_opaque;	if( native_choose_color(rsc) ) {		crm_verbose("Colored resource %s with color %d",			    rsc->id, native_data->color->id);			} else {		if(native_data->allowed_nodes != NULL) {			/* filter out nodes with a negative weight */			filter_nodes(rsc);			new_color = create_color(				colors, rsc, native_data->allowed_nodes);			native_assign_color(rsc, new_color);		}				if(new_color == NULL) {			crm_err("Could not color resource %s", rsc->id);			print_resource("ERROR: No color", rsc, FALSE);			native_assign_color(rsc, no_color);		}	}	rsc->provisional = FALSE;	}