소스 검색

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