From: Kurt Zeilenga Date: Thu, 27 May 1999 02:44:13 +0000 (+0000) Subject: remove redundant memset 0 of connection entry after calloc. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~511 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9219d3368e56b915ce339c3c071db7f13740590;p=openldap remove redundant memset 0 of connection entry after calloc. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 4d8d339e6e..6c65845edb 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -72,9 +72,6 @@ int connections_init(void) return -1; } - for ( i = 0; i < dtblsize; i++ ) - memset( &connections[i], 0, sizeof(Connection) ); - /* * per entry initialization of the Connection array initialization * will be done by connection_init()