Browse Source

- merge trunk

Olivier Aumage 11 years ago
parent
commit
e2c1575cd6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/sched_ctx/parallel_code.c

+ 2 - 2
examples/sched_ctx/parallel_code.c

@@ -74,7 +74,7 @@ void *th(void* p)
 int main(int argc, char **argv)
 {
 	int ntasks = NTASKS;
-	int ret;
+	int ret, j, k;
 
 	ret = starpu_init(NULL);
 	if (ret == -ENODEV)
@@ -94,7 +94,7 @@ int main(int argc, char **argv)
 
 	nprocs1 = ncpus/2;
 	nprocs2 =  nprocs1;
-	int j, k = 0;
+	k = 0;
 	for(j = nprocs1; j < nprocs1+nprocs2; j++)
 		procs2[k++] = j;
 #else