From: Kurt Zeilenga Date: Tue, 15 Jan 2002 19:54:21 +0000 (+0000) Subject: Remove some asserts. Need to re-valid logic X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~119 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e154da3a096ad7e143351616cef456a1a73e80b3;p=openldap Remove some asserts. Need to re-valid logic --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 85992cfd0a..0a04ec6d0b 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1138,7 +1138,6 @@ retry: } idx = p - left.bv_val; - assert( idx < left.bv_len ); if( idx >= left.bv_len ) { /* this shouldn't happen */ @@ -2169,7 +2168,6 @@ retry: } idx = p - left.bv_val; - assert( idx < left.bv_len ); if( idx >= left.bv_len ) { /* this shouldn't happen */ @@ -2734,8 +2732,6 @@ retry: } idx = p - left.bv_val; - assert( idx < left.bv_len ); - if( idx >= left.bv_len ) { /* this shouldn't happen */ return LDAP_OTHER;