From: Pierangelo Masarati Date: Tue, 8 Apr 2003 23:39:56 +0000 (+0000) Subject: silence warning X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~419 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=426ca14a868b6edb638b48e14593542a365fcc4b;p=openldap silence warning --- diff --git a/servers/slapd/operation.c b/servers/slapd/operation.c index 9199e3310c..30ee7830a5 100644 --- a/servers/slapd/operation.c +++ b/servers/slapd/operation.c @@ -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 );