diff --git a/libraries/libldap/options.c b/libraries/libldap/options.c index af2862562e..c6ec0adc66 100644 --- a/libraries/libldap/options.c +++ b/libraries/libldap/options.c @@ -110,8 +110,6 @@ ldap_get_option( } if(ld != NULL) { - assert( LDAP_VALID( ld ) ); - if( !LDAP_VALID( ld ) ) { return LDAP_OPT_ERROR; }