From: Howard Chu Date: Thu, 16 Dec 2004 19:52:38 +0000 (+0000) Subject: Use of bzero is not portable X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=090270e965a6dde044d3de6c697d2a59b6279586;p=openldap Use of bzero is not portable --- diff --git a/servers/slapd/component.c b/servers/slapd/component.c index ced9d9baea..6166db0c07 100644 --- a/servers/slapd/component.c +++ b/servers/slapd/component.c @@ -263,8 +263,7 @@ dup_comp_filter ( ComponentFilter **out_f ) { int rc; - ComponentFilter dup_f; - bzero( &dup_f, sizeof(dup_f)); + ComponentFilter dup_f = {0}; if ( !in_f ) return LDAP_PROTOCOL_ERROR;