Use of bzero is not portable

This commit is contained in:
Howard Chu 2004-12-16 19:52:38 +00:00
parent 238f6333d2
commit 090270e965

View File

@ -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;