From: Kurt Zeilenga Date: Mon, 8 Jul 2002 18:55:50 +0000 (+0000) Subject: remove lint X-Git-Tag: NO_SLAP_OP_BLOCKS~1381 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f48237d224ba3b3f19c9eddaa2d7fcb898a90ef;p=openldap remove lint --- diff --git a/servers/slapd/extended.c b/servers/slapd/extended.c index ace5cb55f1..63f46bd2b2 100644 --- a/servers/slapd/extended.c +++ b/servers/slapd/extended.c @@ -308,7 +308,6 @@ whoami_extop ( const char ** text, BerVarray * refs ) { - int rc; struct berval *bv; if ( reqdata != NULL ) { diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index dc6359619d..e4905493a6 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -1126,7 +1126,6 @@ vrFilter_free( ValuesReturnFilter *f ) void vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr ) { - int i; ValuesReturnFilter *p; struct berval tmp; ber_len_t len; @@ -1159,8 +1158,6 @@ vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr ) static void simple_vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr ) { - int i; - ValuesReturnFilter *p; struct berval tmp; ber_len_t len; @@ -1249,6 +1246,7 @@ simple_vrFilter2bv( ValuesReturnFilter *f, struct berval *fstr ) } if ( f->f_sub_any != NULL ) { + int i; for ( i = 0; f->f_sub_any[i].bv_val != NULL; i++ ) { len = fstr->bv_len; filter_escape_value( &f->f_sub_any[i], &tmp );