]> git.sur5r.net Git - openldap/commitdiff
ITS#6403: do not require *ent == NULL on entry to null_back_entry_get()
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 16 Dec 2009 09:12:48 +0000 (09:12 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 16 Dec 2009 09:12:48 +0000 (09:12 +0000)
servers/slapd/back-null/null.c

index eb4f3c71c9c3d4829534979a8c7fdeb3ef906163..ae92e386106fd0da6b5633b60c59d49aedf1dc49 100644 (file)
@@ -234,8 +234,6 @@ null_back_entry_get(
        int rw,
        Entry **ent )
 {
-       assert( *ent == NULL );
-
        /* don't admit the object isn't there */
        return oc || at ? LDAP_NO_SUCH_ATTRIBUTE : LDAP_BUSY;
 }