瀏覽代碼

Removed redundant code in agmt_new_from_entry
(ldap/servers/plugins/replication/repl5_agmt.c)

Noriko Hosoi 15 年之前
父節點
當前提交
d6f0a9eb0a
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      ldap/servers/plugins/replication/repl5_agmt.c

+ 1 - 5
ldap/servers/plugins/replication/repl5_agmt.c

@@ -324,11 +324,7 @@ agmt_new_from_entry(Slapi_Entry *e)
 	{
 		ra->replarea = slapi_sdn_new_dn_passin(tmpstr);
 	}
-	/* XXXggood get fractional attribute include/exclude lists here */
-	/* Alrighty Gordon, you get your way... */
-	if (slapi_entry_attr_find(e, type_nsds5ReplicaUpdateSchedule, &sattr) == 0)
-	{
-	}
+
 	/* Replication schedule */
 	ra->schedule = schedule_new(update_window_state_change_callback, ra, agmt_get_long_name(ra));
 	if (slapi_entry_attr_find(e, type_nsds5ReplicaUpdateSchedule, &sattr) == 0)