From 00a5815c2c16b9a77034e0810672545e63e8658a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 11 Feb 2021 17:03:32 +0000 Subject: [PATCH] ITS#9465 remove assert in ldap_get_option() Since it's already checked for error --- libraries/libldap/options.c | 2 -- 1 file changed, 2 deletions(-) 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; }