瀏覽代碼

shut up compiler warning

Samuel Thibault 9 年之前
父節點
當前提交
b2c7e4fac4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/datawizard/coherency.c

+ 1 - 1
src/datawizard/coherency.c

@@ -1063,7 +1063,7 @@ void __starpu_push_task_output(struct _starpu_job *j)
 		if (node == -1 && task->cl->where != STARPU_NOWHERE)
 			node = local_memory_node;
 
-		struct _starpu_data_replicate *local_replicate;
+		struct _starpu_data_replicate *local_replicate = NULL;
 
 		if (index && descrs[index-1].handle == descrs[index].handle)
 			/* We have already released this data, skip it. This