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;