From: Ralf Haferkamp Date: Tue, 8 Feb 2011 17:20:44 +0000 (+0000) Subject: removed some used vars X-Git-Tag: MIGRATION_CVS2GIT~81 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a6626b49db9628d950d112f7ec7b15a054043f1;p=openldap removed some used vars --- diff --git a/servers/slapd/back-monitor/search.c b/servers/slapd/back-monitor/search.c index 4df9d2ac87..29ac90ab32 100644 --- a/servers/slapd/back-monitor/search.c +++ b/servers/slapd/back-monitor/search.c @@ -39,9 +39,8 @@ monitor_find_children( Entry **vol ) { - monitor_info_t *mi = ( monitor_info_t * )op->o_bd->be_private; monitor_entry_t *mp; - + mp = ( monitor_entry_t * )e_parent->e_private; *nonv = mp->mp_children; diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index e37d7dcffa..4ae3fd3ef6 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -629,7 +629,6 @@ static int translucent_pwmod(Operation *op, SlapReply *rs) { slap_overinst *on = (slap_overinst *) op->o_bd->bd_info; translucent_info *ov = on->on_bi.bi_private; - const struct berval bv_exop_pwmod = BER_BVC(LDAP_EXOP_MODIFY_PASSWD); Entry *e = NULL, *re = NULL; BackendDB *db; int rc = 0;