]> git.sur5r.net Git - openldap/commitdiff
initialize rc in syncrepl_add_glue_ancestors (ITS#6719)
authorPierangelo Masarati <ando@openldap.org>
Mon, 22 Nov 2010 12:09:45 +0000 (12:09 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 22 Nov 2010 12:09:45 +0000 (12:09 +0000)
servers/slapd/syncrepl.c

index a164e56d563357f7b4f0e58f7218c59790f811fc..b3d7b714b45b9ebca68e45402feeedf73b3adfce 100644 (file)
@@ -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;