mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
This commit is contained in:
parent
cc27d26f48
commit
a7f82239b6
@ -1554,7 +1554,7 @@ int slap_sasl_getdn( Connection *conn, Operation *op, struct berval *id,
|
||||
if ( !op ) {
|
||||
op = conn->c_sasl_bindop;
|
||||
}
|
||||
assert( op );
|
||||
assert( op != NULL );
|
||||
|
||||
BER_BVZERO( dn );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user