]> git.sur5r.net Git - openldap/commitdiff
Remove useless assert: unsigned lc->lc_refcnt >= 0
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 13 Apr 2006 22:20:55 +0000 (22:20 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 13 Apr 2006 22:20:55 +0000 (22:20 +0000)
servers/slapd/back-ldap/bind.c

index b1d791a22abea05eb562dda19593a084bee2741e..20b983e0db61e47e835b6c019368fce8697a1483 100644 (file)
@@ -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 );