Browse Source

mpi_like_async : fix dead assignment

[scan-build] Dead Assignment.
Cyril Roelandt 13 years ago
parent
commit
91009bc1d9
1 changed files with 1 additions and 0 deletions
  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 */