浏览代码

fix warning

Samuel Thibault 8 年之前
父节点
当前提交
99c955951c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/sched_policies/helper_mct.c

+ 1 - 1
src/sched_policies/helper_mct.c

@@ -143,7 +143,7 @@ int starpu_mct_compute_execution_times(struct starpu_sched_component *component,
 	return nsuitable_components;
 }
 
-void starpu_mct_compute_expected_times(struct starpu_sched_component *component, struct starpu_task *task,
+void starpu_mct_compute_expected_times(struct starpu_sched_component *component, struct starpu_task *task STARPU_ATTRIBUTE_UNUSED,
 		double *estimated_lengths, double *estimated_transfer_length, double *estimated_ends_with_task,
 				       double *min_exp_end_with_task, double *max_exp_end_with_task, int *suitable_components, int nsuitable_components)
 {