int lpc = 0;
unsigned lpc = 0;
node_list_and(GListPtr list1, GListPtr list2, gboolean filter){	GListPtr result = NULL;	int lpc = 0;	for(lpc = 0; lpc < g_list_length(list1); lpc++) {		node_t *node = (node_t*)g_list_nth_data(list1, lpc);		node_t *new_node = node_copy(node);		node_t *other_node = pe_find_node(list2, node->details->uname);		if(node_merge_weights(new_node, other_node) == FALSE) {			crm_free(new_node);		} else if(filter && new_node->weight < 0) {			crm_free(new_node);		} else {			result = g_list_append(result, new_node);		}	}	return result;}