From f4e12e11d6c5b3cb3494acbf86d83a4b7c26b9be Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 3 Aug 2007 20:26:48 +0000 Subject: [PATCH] trim unused vars --- servers/slapd/schema_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.39.5