mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
silence warning
This commit is contained in:
parent
756d35cb6e
commit
426ca14a86
@ -99,7 +99,7 @@ slap_op_alloc(
|
||||
Operation *op;
|
||||
|
||||
ldap_pvt_thread_mutex_lock( &slap_op_mutex );
|
||||
if (op = LDAP_STAILQ_FIRST( &slap_free_ops )) {
|
||||
if ((op = LDAP_STAILQ_FIRST( &slap_free_ops ))) {
|
||||
LDAP_STAILQ_REMOVE_HEAD( &slap_free_ops, o_next );
|
||||
}
|
||||
ldap_pvt_thread_mutex_unlock( &slap_op_mutex );
|
||||
|
Loading…
Reference in New Issue
Block a user