From: Hallvard Furuseth Date: Mon, 8 Aug 2005 22:25:56 +0000 (+0000) Subject: assert expects int. (int) can be 0. Use assert(arg!=0/NULL). X-Git-Tag: OPENLDAP_AC_BP~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=64512ad4d73c9dc096917018a443a98f35adab08;p=openldap assert expects int. (int) can be 0. Use assert(arg!=0/NULL). --- diff --git a/servers/slapd/repl.c b/servers/slapd/repl.c index e269539f65..8931915219 100644 --- a/servers/slapd/repl.c +++ b/servers/slapd/repl.c @@ -74,7 +74,7 @@ destroy_replica_info( { int i = 0; - assert( be ); + assert( be != NULL ); if ( be->be_replica == NULL ) { return 0;