From 7a19d8855d88297102589202d8ba748d31558a18 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 13 Apr 2006 22:20:55 +0000 Subject: [PATCH] Remove useless assert: unsigned lc->lc_refcnt >= 0 --- servers/slapd/back-ldap/bind.c | 1 - 1 file changed, 1 deletion(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index b1d791a22a..20b983e0db 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -306,7 +306,6 @@ ldap_back_freeconn( Operation *op, ldapconn_t *lc, int dolock ) ldap_pvt_thread_mutex_lock( &li->li_conninfo.lai_mutex ); } - assert( lc->lc_refcnt >= 0 ); tmplc = avl_delete( &li->li_conninfo.lai_tree, (caddr_t)lc, ldap_back_conndnlc_cmp ); assert( LDAP_BACK_CONN_TAINTED( lc ) || tmplc == lc ); -- 2.39.5