]> git.sur5r.net Git - openldap/commitdiff
remove lint (ITS#4878)
authorPierangelo Masarati <ando@openldap.org>
Sat, 17 Mar 2007 14:22:44 +0000 (14:22 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 17 Mar 2007 14:22:44 +0000 (14:22 +0000)
servers/slapd/filterentry.c
servers/slapd/limits.c
servers/slapd/modify.c

index 336476a8fd39d9a8f624b706e95a91a1607aee71..6982f02262327b6a9b4cbbb2bf9774d40a11593d 100644 (file)
@@ -583,7 +583,7 @@ test_ava_filter(
 
        if ( ava->aa_desc == slap_schema.si_ad_entryDN ) {
                MatchingRule *mr;
-               int rc, match;
+               int match;
                const char *text;
 
                if( type != LDAP_FILTER_EQUALITY &&
index 70ba3029a3fc0555a8f90a9be545f90833ae32cd..81f4027de36dceb52a2510dfacb0c4da98b6b0ed 100644 (file)
@@ -502,7 +502,6 @@ limits_parse(
                        ad.bv_val = strchr( oc.bv_val, '/' );
                        if ( ad.bv_val != NULL ) {
                                const char      *text = NULL;
-                               int             rc;
 
                                oc.bv_len = ad.bv_val - oc.bv_val;
 
@@ -533,7 +532,6 @@ no_oc:;
 
                if ( group_ad == NULL ) {
                        const char      *text = NULL;
-                       int             rc;
                        
                        rc = slap_str2ad( SLAPD_GROUP_ATTR, &group_ad, &text );
 
index 0cd1d039ab85b9bafd28040c07d578db28de7483..292d0b29d8ad98a1e35e959fa341e511bd716406 100644 (file)
@@ -695,7 +695,7 @@ int slap_mods_check(
 
                                        MatchingRule *mr = ad->ad_type->sat_equality;
                                        int istack[sizeof(int)*16];
-                                       int i,j,k,l,ir,jstack, rc, match, *ix, itmp;
+                                       int i, j, k, l, ir, jstack, match, *ix, itmp;
                                        struct berval a, *cv;
 
 /* If PRESERVE_ORDER is defined only the index array is sorted; the