浏览代码

tests/datawizard/reclaim.c: avoid having 2 variables with the same name

Nathalie Furmento 14 年之前
父节点
当前提交
0183d7c6f8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/datawizard/reclaim.c

+ 2 - 2
tests/datawizard/reclaim.c

@@ -59,7 +59,7 @@ static int mb = 256;
 int main(int argc, char **argv)
 {
 	int i;
-	int task;
+	int taskid;
 
 #ifdef STARPU_HAVE_HWLOC
 	/* We allocate 50% of the memory */
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
 		assert(handle_array[i]);
 	}
 
-	for (task = 0; task < ntasks; task++)
+	for (taskid = 0; taskid < ntasks; taskid++)
 	{
 		struct starpu_task *task = starpu_task_create();
 		task->cl = &dummy_cl;