diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 651fc7fae7..ca7ad67580 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1903,8 +1903,6 @@ connection_fake_init( void connection_assign_nextid( Connection *conn ) { - int rc; - ldap_pvt_thread_mutex_lock( &conn_nextid_mutex ); conn->c_connid = conn_nextid++; ldap_pvt_thread_mutex_unlock( &conn_nextid_mutex );