]> git.sur5r.net Git - openldap/commitdiff
remove unused code
authorPierangelo Masarati <ando@openldap.org>
Fri, 14 Sep 2007 22:24:21 +0000 (22:24 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 14 Sep 2007 22:24:21 +0000 (22:24 +0000)
servers/slapd/acl.c

index 14cc43894f160a2a3d421b4346d1fd003168dbf0..0bc7b0f2688a1f7ffafb149fb56f258698557839 100644 (file)
@@ -2043,11 +2043,6 @@ acl_set_cb_gather( Operation *op, SlapReply *rs )
 
                                a = attr_find( rs->sr_entry->e_attrs, desc );
                                if ( a != NULL ) {
-                                       int     i;
-
-                                       for ( i = 0; !BER_BVISNULL( &a->a_nvals[ i ] ); i++ )
-                                               ;
-
                                        bvalsp = a->a_nvals;
                                }
                        }