diff --git a/directory/c-sdk/ldap/libraries/libldap/pwpctrl.c b/directory/c-sdk/ldap/libraries/libldap/pwpctrl.c index 9607bf76c3e..7f1a9342ee5 100644 --- a/directory/c-sdk/ldap/libraries/libldap/pwpctrl.c +++ b/directory/c-sdk/ldap/libraries/libldap/pwpctrl.c @@ -259,7 +259,7 @@ ldap_parse_passwordpolicy_control_ext ( int i, foundPPControl; LDAPControl *PPCtrlp = NULL; - if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || pp == NULL ) { + if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) ) { return( LDAP_PARAM_ERROR ); }