瀏覽代碼

Silence static analysis warnings

Samuel Thibault 5 年之前
父節點
當前提交
e713367738
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/sched_policies/modular_ez.c

+ 2 - 0
src/sched_policies/modular_ez.c

@@ -257,6 +257,8 @@ void starpu_sched_component_initialize_simple_schedulers(unsigned sched_ctx_id,
 				/* Plug decision_component to fifo */
 				starpu_sched_component_connect(last, decision_component);
 		}
+		/* Silence static analysis warnings */
+		(void) last;
 
 		/* Take default ntasks_threshold */
 		unsigned ntasks_threshold;