]> git.sur5r.net Git - openldap/commitdiff
Remove some asserts. Need to re-valid logic
authorKurt Zeilenga <kurt@openldap.org>
Tue, 15 Jan 2002 19:54:21 +0000 (19:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 15 Jan 2002 19:54:21 +0000 (19:54 +0000)
servers/slapd/schema_init.c

index 85992cfd0a884570b5df0f602246c9a53d590335..0a04ec6d0b72bb2b41b816876ac259473c15e815 100644 (file)
@@ -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;