1
0
Эх сурвалжийг харах

Bug 691422 - windows_replay_update - fix coverity control flow issues

https://bugzilla.redhat.com/show_bug.cgi?id=691422
Resolves: bug 691422
Bug Description: windows_replay_update - fix coverity control flow issues
Reviewed by: nhosoi (Thanks!)
Branch: master
Fix Description: is_ours will always be true here - so just remove the ?: statement and hard code "ours"
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
Rich Megginson 14 жил өмнө
parent
commit
67e2651847

+ 1 - 1
ldap/servers/plugins/replication/windows_protocol_util.c

@@ -1423,7 +1423,7 @@ windows_replay_update(Private_Repl_Protocol *prp, slapi_operation_parameters *op
 				slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name,
 					"%s: windows_replay_update: Looking at %s operation local dn=\"%s\" (%s)\n",
 					agmt_get_long_name(prp->agmt),
-					op2string(op->operation_type), op->target_address.dn, is_ours ? "ours" : "not ours");
+					op2string(op->operation_type), op->target_address.dn, "ours");
 			}
 			/* Just bail on this change.  We don't want to do any
 			 * further checks since we don't have a local entry. */