From: Kurt Zeilenga Date: Thu, 23 May 2002 03:17:58 +0000 (+0000) Subject: Delete extranous assert() X-Git-Tag: OPENLDAP_REL_ENG_2_MP~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=02fb60d3dad11f9ee46feb6ba3eb9ad96dde0c48;p=openldap Delete extranous assert() --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 9fece09c88..184976e5e8 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -91,7 +91,6 @@ int bdb_modify_internal( Debug(LDAP_DEBUG_ARGS, "bdb_modify_internal: replace\n", 0, 0, 0); #endif err = modify_replace_values( e, mod, text, textbuf, textlen ); - assert( err != LDAP_TYPE_OR_VALUE_EXISTS ); if( err != LDAP_SUCCESS ) { #ifdef NEW_LOGGING LDAP_LOG (( "modify", LDAP_LEVEL_ERR, "bdb_modify_internal: %d %s\n", err, *text )); diff --git a/servers/slapd/back-ldbm/modify.c b/servers/slapd/back-ldbm/modify.c index 2dfb9be680..03f81b1687 100644 --- a/servers/slapd/back-ldbm/modify.c +++ b/servers/slapd/back-ldbm/modify.c @@ -110,7 +110,6 @@ int ldbm_modify_internal( #endif rc = modify_replace_values( e, mod, text, textbuf, textlen ); - assert( rc != LDAP_TYPE_OR_VALUE_EXISTS ); if( rc != LDAP_SUCCESS ) { #ifdef NEW_LOGGING LDAP_LOG(( "backend", LDAP_LEVEL_INFO,