]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9465 remove assert in ldap_get_option()
authorHoward Chu <hyc@openldap.org>
Thu, 11 Feb 2021 17:03:32 +0000 (17:03 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 11 Feb 2021 17:03:32 +0000 (17:03 +0000)
Since it's already checked for error

libraries/libldap/options.c

index af2862562ee6dcc3311db258529fe0d5b7a3501d..c6ec0adc6614af2cb8171d7faa0c12e68515502c 100644 (file)
@@ -110,8 +110,6 @@ ldap_get_option(
        }
 
        if(ld != NULL) {
-               assert( LDAP_VALID( ld ) );
-
                if( !LDAP_VALID( ld ) ) {
                        return LDAP_OPT_ERROR;
                }