diff options
Diffstat (limited to 'ldap/servers/plugins/replication')
| -rw-r--r-- | ldap/servers/plugins/replication/repl5_replica.c | 3 | ||||
| -rw-r--r-- | ldap/servers/plugins/replication/replutil.c | 2 |
2 files changed, 3 insertions, 2 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 */ diff --git a/ldap/servers/plugins/replication/replutil.c b/ldap/servers/plugins/replication/replutil.c index 8703c7c2..aaa427bd 100644 --- a/ldap/servers/plugins/replication/replutil.c +++ b/ldap/servers/plugins/replication/replutil.c @@ -740,7 +740,7 @@ repl_set_mtn_state_and_referrals( /* next, add the repl root dn to each referral if not present */ for (ii = 0; referrals_to_set && referrals_to_set[ii]; ++ii) { LDAPURLDesc *lud = NULL; - int myrc = slapi_ldap_url_parse(referrals_to_set[ii], &lud, 0, NULL); + (void)slapi_ldap_url_parse(referrals_to_set[ii], &lud, 0, NULL); /* see if the dn is already in the referral URL */ if (!lud || !lud->lud_dn) { /* add the dn */ |
