From 6a6626b49db9628d950d112f7ec7b15a054043f1 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 8 Feb 2011 17:20:44 +0000 Subject: [PATCH] removed some used vars --- servers/slapd/back-monitor/search.c | 3 +-- servers/slapd/overlays/translucent.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) 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; -- 2.39.5