diff options
| author | Rich Megginson <rmeggins@redhat.com> | 2009-07-07 13:22:45 -0600 |
|---|---|---|
| committer | Rich Megginson <rmeggins@redhat.com> | 2009-07-07 13:44:50 -0600 |
| commit | 386ba57d421ee2d59a267d52d63bd88cbf20c435 (patch) | |
| tree | 88db2ad09ae1f202a23ce45e6a430506be534ccd /ldap/servers/plugins/replication/replutil.c | |
| parent | 209521323f731daad54682fd98715f7b22c88c78 (diff) | |
Clean up compiler warnings
This cleans up all of the compiler warnings produced with -Wall on RHEL/Fedora platforms.
The warnings about the %lld and %llu formats are still produced and cannot be helped.
Reviewed by: nkinder (Thanks!)
Diffstat (limited to 'ldap/servers/plugins/replication/replutil.c')
| -rw-r--r-- | ldap/servers/plugins/replication/replutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
