summaryrefslogtreecommitdiffstats
path: root/ldap/servers/plugins/replication/repl5_replica.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/plugins/replication/repl5_replica.c')
-rw-r--r--ldap/servers/plugins/replication/repl5_replica.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldap/servers/plugins/replication/repl5_replica.c b/ldap/servers/plugins/replication/repl5_replica.c
index 5f280b1d..a563835a 100644
--- a/ldap/servers/plugins/replication/repl5_replica.c
+++ b/ldap/servers/plugins/replication/repl5_replica.c
@@ -1012,7 +1012,8 @@ replica_set_referrals(Replica *r,const Slapi_ValueSet *vs)
{
const char *ref = slapi_value_get_string(vv);
LDAPURLDesc *lud = NULL;
- int myrc = slapi_ldap_url_parse(ref, &lud, 0, NULL);
+
+ (void)slapi_ldap_url_parse(ref, &lud, 0, NULL);
/* see if the dn is already in the referral URL */
if (!lud || !lud->lud_dn) {
/* add the dn */