From: Pierangelo Masarati Date: Fri, 3 Aug 2007 20:26:48 +0000 (+0000) Subject: trim unused vars X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~273 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f4e12e11d6c5b3cb3494acbf86d83a4b7c26b9be;p=openldap trim unused vars --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index ca2b15a888..ec9547b3a7 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -126,7 +126,7 @@ static int certificateValidate( Syntax *syntax, struct berval *in ) BerElement *ber = (BerElement *)&berbuf; ber_tag_t tag; ber_len_t len; - ber_int_t i, version = SLAP_X509_V1; + ber_int_t version = SLAP_X509_V1; ber_init2( ber, in, LBER_USE_DER ); tag = ber_skip_tag( ber, &len ); /* Signed wrapper */ @@ -199,7 +199,7 @@ static int certificateListValidate( Syntax *syntax, struct berval *in ) BerElement *ber = (BerElement *)&berbuf; ber_tag_t tag; ber_len_t len; - ber_int_t i, version = SLAP_X509_V1; + ber_int_t version = SLAP_X509_V1; ber_init2( ber, in, LBER_USE_DER ); tag = ber_skip_tag( ber, &len ); /* Signed wrapper */