소스 검색

mpi_like_async : fix dead assignment

[scan-build] Dead Assignment.
Cyril Roelandt 13 년 전
부모
커밋
91009bc1d9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/datawizard/mpi_like_async.c

+ 1 - 0
tests/datawizard/mpi_like_async.c

@@ -332,6 +332,7 @@ int main(int argc, char **argv)
 	PTHREAD_MUTEX_UNLOCK(&data_req_mutex);
 
 	ret = pthread_join(progress_thread, &retval);
+	STARPU_ASSERT(!ret);
 	STARPU_ASSERT(retval == NULL);
 
 	/* We check that the value in the "last" thread is valid */