Minor cleanup, no need to zero fields in calloc'd memory

This commit is contained in:
Howard Chu 2002-01-25 07:07:55 +00:00
parent 1e7ca2e850
commit 2367a31872

View File

@ -81,12 +81,6 @@ do_add( Connection *conn, Operation *op )
} }
e = (Entry *) ch_calloc( 1, sizeof(Entry) ); e = (Entry *) ch_calloc( 1, sizeof(Entry) );
e->e_name.bv_val = NULL;
e->e_name.bv_len = 0;
e->e_nname.bv_val = NULL;
e->e_nname.bv_len = 0;
e->e_attrs = NULL;
e->e_private = NULL;
rc = dnPrettyNormal( NULL, &dn, &e->e_name, &e->e_nname ); rc = dnPrettyNormal( NULL, &dn, &e->e_name, &e->e_nname );