Ticket #47879 - coverity defects in plugins/replication/windows_protocol_util.c
Description:
Defect type: CLANG_WARNING
1. ldap/servers/plugins/replication/windows_protocol_util.c:6024:warning – Value stored to 'rc' is never read
# rc = windows_process_dirsync_entry(prp,e,0);
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Removed the unnecessary assignment.
2. ldap/servers/plugins/replication/windows_protocol_util.c:1713:warning – Value stored to 'return_value' is never read
# return_value = windows_conn_send_rename(prp->conn, slapi_sdn_get_dn(remote_dn),
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Added return_value checking code.
3. ldap/servers/plugins/replication/windows_protocol_util.c:629:warning – Value stored to 'return_value' is never read
Removed the unnecessary assignment to return_value.
https://fedorahosted.org/389/ticket/47879
Reviewed by mreynolds@redhat.com (Thank you, Mark!!)