From: Hallvard Furuseth Date: Fri, 26 Aug 2005 21:42:48 +0000 (+0000) Subject: Remove unused variable X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~561 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1a95072954fb219825e870b522403a6a1b0f15a;p=openldap Remove unused variable --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 57d6b46600..238cef6a5b 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2222,7 +2222,6 @@ syncprov_db_close( { slap_overinst *on = (slap_overinst *) be->bd_info; syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private; - int i; if ( slapMode & SLAP_TOOL_MODE ) { return 0; diff --git a/servers/slapd/overlays/valsort.c b/servers/slapd/overlays/valsort.c index 8943452070..814d305cdd 100644 --- a/servers/slapd/overlays/valsort.c +++ b/servers/slapd/overlays/valsort.c @@ -507,7 +507,7 @@ static slap_overinst valsort; int valsort_init() { - int i, rc; + int rc; valsort.on_bi.bi_type = "valsort"; valsort.on_bi.bi_db_destroy = valsort_destroy;