]> git.sur5r.net Git - openldap/commitdiff
removed some used vars
authorRalf Haferkamp <ralf@openldap.org>
Tue, 8 Feb 2011 17:20:44 +0000 (17:20 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 8 Feb 2011 17:20:44 +0000 (17:20 +0000)
servers/slapd/back-monitor/search.c
servers/slapd/overlays/translucent.c

index 4df9d2ac87c96232400c673b81fcf9109c28b835..29ac90ab32332115c2c2cb4278a2c874a2b46578 100644 (file)
@@ -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;
 
index e37d7dcffa7dbb283034d6322473cb6aa1162b4b..4ae3fd3ef652bd05bc00e1900fcc19b34ae4d431 100644 (file)
@@ -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;