Преглед изворни кода

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 */