From c0e0a64799f9592ba850d4ad76bc488c7ababa0c Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 19 Aug 2009 18:58:28 +0000 Subject: [PATCH] Silence warning (missing braces ininitializer) --- servers/slapd/back-ldap/bind.c | 2 +- servers/slapd/back-meta/conn.c | 2 +- servers/slapd/back-meta/unbind.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index d44a795890..3790e60837 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -783,7 +783,7 @@ ldap_back_getconn( { ldapinfo_t *li = (ldapinfo_t *)op->o_bd->be_private; ldapconn_t *lc = NULL, - lc_curr = { 0 }; + lc_curr = {{ 0 }}; int refcnt = 1, lookupconn = !( sendok & LDAP_BACK_BINDING ); diff --git a/servers/slapd/back-meta/conn.c b/servers/slapd/back-meta/conn.c index a9b36baf2a..ab7d77360c 100644 --- a/servers/slapd/back-meta/conn.c +++ b/servers/slapd/back-meta/conn.c @@ -1024,7 +1024,7 @@ meta_back_getconn( { metainfo_t *mi = ( metainfo_t * )op->o_bd->be_private; metaconn_t *mc = NULL, - mc_curr = { 0 }; + mc_curr = {{ 0 }}; int cached = META_TARGET_NONE, i = META_TARGET_NONE, err = LDAP_SUCCESS, diff --git a/servers/slapd/back-meta/unbind.c b/servers/slapd/back-meta/unbind.c index 50eff2d499..8beafaea92 100644 --- a/servers/slapd/back-meta/unbind.c +++ b/servers/slapd/back-meta/unbind.c @@ -39,7 +39,7 @@ meta_back_conn_destroy( { metainfo_t *mi = ( metainfo_t * )be->be_private; metaconn_t *mc, - mc_curr = { 0 }; + mc_curr = {{ 0 }}; int i; -- 2.39.5