Skip to content
Snippets Groups Projects
Commit 02fb60d3 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Delete extranous assert()

parent 9cdce9c0
No related branches found
No related tags found
No related merge requests found
......@@ -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 ));
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment