mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 07:30:57 -05:00
silence warnings
This commit is contained in:
parent
0079b3ce45
commit
06478f2265
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue