From 090270e965a6dde044d3de6c697d2a59b6279586 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 16 Dec 2004 19:52:38 +0000 Subject: [PATCH] Use of bzero is not portable --- servers/slapd/component.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5