Commit 06478f22 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

silence warnings

parent 0079b3ce
......@@ -607,7 +607,7 @@ syncprov_findcsn( Operation *op, int mode )
AttributeAssertion eq;
int i, rc = LDAP_SUCCESS;
fpres_cookie pcookie;
sync_control *srs;
sync_control *srs = NULL;
if ( mode != FIND_MAXCSN ) {
srs = op->o_controls[slap_cids.sc_LDAPsync];
......@@ -856,6 +856,8 @@ syncprov_drop_psearch( syncops *so, int lock )
ldap_pvt_thread_mutex_unlock( &so->s_op->o_conn->c_mutex );
}
syncprov_free_syncop( so );
return 0;
}
static int
......@@ -1048,6 +1050,8 @@ syncprov_op_cleanup( Operation *op, SlapReply *rs )
op->o_tmpfree( opc->sdn.bv_val, op->o_tmpmemctx );
op->o_callback = cb->sc_next;
op->o_tmpfree(cb, op->o_tmpmemctx);
return 0;
}
static void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment