From: Pierangelo Masarati Date: Mon, 22 Nov 2010 12:09:45 +0000 (+0000) Subject: initialize rc in syncrepl_add_glue_ancestors (ITS#6719) X-Git-Tag: MIGRATION_CVS2GIT~411 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b68703031b38b181c2c9d45f56802193f2a37460;p=openldap initialize rc in syncrepl_add_glue_ancestors (ITS#6719) --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index a164e56d56..b3d7b714b4 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3000,7 +3000,7 @@ syncrepl_add_glue_ancestors( Backend *be = op->o_bd; slap_callback cb = { NULL }; Attribute *a; - int rc; + int rc = LDAP_SUCCESS; int suffrdns; int i; struct berval dn = BER_BVNULL;