From 9be22e18bfbb440675f7ebb940aae2ea3797545a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 17 Mar 2007 14:22:44 +0000 Subject: [PATCH] remove lint (ITS#4878) --- servers/slapd/filterentry.c | 2 +- servers/slapd/limits.c | 2 -- servers/slapd/modify.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index 336476a8fd..6982f02262 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -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 && diff --git a/servers/slapd/limits.c b/servers/slapd/limits.c index 70ba3029a3..81f4027de3 100644 --- a/servers/slapd/limits.c +++ b/servers/slapd/limits.c @@ -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 ); diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 0cd1d039ab..292d0b29d8 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -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 -- 2.39.5