assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

This commit is contained in:
Hallvard Furuseth 2005-08-08 22:25:56 +00:00
parent 7843e7fbb2
commit 64512ad4d7

View File

@ -74,7 +74,7 @@ destroy_replica_info(
{
int i = 0;
assert( be );
assert( be != NULL );
if ( be->be_replica == NULL ) {
return 0;