From: Howard Chu Date: Tue, 7 Dec 2004 18:29:21 +0000 (+0000) Subject: Delete unused slap_build_syncUUID_set() X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~104 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d3d73a0b96d6ffc012f520d5b4e92c74c8f57b91;p=openldap Delete unused slap_build_syncUUID_set() --- diff --git a/servers/slapd/ldapsync.c b/servers/slapd/ldapsync.c index 4d6afd8e45..9141f937d9 100644 --- a/servers/slapd/ldapsync.c +++ b/servers/slapd/ldapsync.c @@ -245,27 +245,3 @@ slap_dup_sync_cookie( return new; } -int -slap_build_syncUUID_set( - Operation *op, - BerVarray *set, - Entry *e -) -{ - int ret; - Attribute* a; - - struct berval entryuuid_bv = BER_BVNULL; - - for ( a = e->e_attrs; a != NULL; a = a->a_next ) { - AttributeDescription *desc = a->a_desc; - if ( desc == slap_schema.si_ad_entryUUID ) { - ber_dupbv_x( &entryuuid_bv, &a->a_nvals[0], op->o_tmpmemctx ); - break; - } - } - - ret = ber_bvarray_add_x( set, &entryuuid_bv, op->o_tmpmemctx ); - - return ret; -}