소스 검색

tests/microbenchs: remove unused variable

Nathalie Furmento 8 년 전
부모
커밋
b6fa3dc0eb
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      tests/microbenchs/parallel_redux_heterogeneous_tasks_data.c
  2. 1 1
      tests/microbenchs/parallel_redux_homogeneous_tasks_data.c

+ 1 - 1
tests/microbenchs/parallel_redux_heterogeneous_tasks_data.c

@@ -147,7 +147,7 @@ int main(int argc, char *argv[])
  	 * data */
 	float *vector;
 	starpu_data_handle_t vector_handle;
-	unsigned i,j;
+	unsigned i;
 	vector = calloc(NB_FLOAT, sizeof(float));
 #ifndef STARPU_SIMGRID
 	for (i = 0; i < NB_FLOAT; i++)

+ 1 - 1
tests/microbenchs/parallel_redux_homogeneous_tasks_data.c

@@ -117,7 +117,7 @@ int main(int argc, char *argv[])
  	 * data */
 	float *vector;
 	starpu_data_handle_t vector_handle;
-	unsigned i,j;
+	unsigned i;
 	vector = calloc(NB_FLOAT, sizeof(float));
 #ifndef STARPU_SIMGRID
 	for (i = 0; i < NB_FLOAT; i++)