mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
This commit is contained in:
parent
7843e7fbb2
commit
64512ad4d7
@ -74,7 +74,7 @@ destroy_replica_info(
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
assert( be );
|
||||
assert( be != NULL );
|
||||
|
||||
if ( be->be_replica == NULL ) {
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user