]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/ad.c
update for new backend types
[openldap] / servers / slapd / ad.c
index 34f8cb4f20402b88c3e2d66371f6095d902b590f..c690d2efdbd33f4b4501dbcdb3b474558e0503bc 100644 (file)
@@ -510,7 +510,6 @@ int ad_inlist(
        for( ; attrs->an_name.bv_val; attrs++ ) {
                AttributeType *a;
                ObjectClass *oc;
-               int rc;
                
                if ( attrs->an_desc ) {
                        int lr;
@@ -584,8 +583,6 @@ int ad_inlist(
                }
                if( oc != NULL ) {
                        if ( attrs->an_oc_exclude ) {
-                               int gotit = 0;
-
                                if ( oc == slap_schema.si_oc_extensibleObject ) {
                                        /* extensibleObject allows the return of anything */
                                        return 0;
@@ -993,8 +990,6 @@ file2anlist( AttributeName *an, const char *fname, const char *brkstr )
        }
 
        while ( fgets( lcur, LBUFSIZ, fp ) != NULL ) {
-               char *str, *s, *next;
-               const char *delimstr = brkstr;
                if ( ( c = strchr( lcur, '\n' ) ) ) {
                        if ( c == line ) {
                                *c = '\0';