From 426ca14a868b6edb638b48e14593542a365fcc4b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 8 Apr 2003 23:39:56 +0000 Subject: [PATCH] silence warning --- servers/slapd/operation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5