From: Arnaud Giersch Date: Tue, 2 Apr 2019 12:46:40 +0000 (+0200) Subject: Useless parentheses. X-Git-Tag: v3.22.1~21^2~3 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d4fcea889f5affbc78302914ae05ca98f6a54699?ds=sidebyside Useless parentheses. --- diff --git a/src/smpi/mpi/smpi_request.cpp b/src/smpi/mpi/smpi_request.cpp index 197e030b69..6287d7c027 100644 --- a/src/smpi/mpi/smpi_request.cpp +++ b/src/smpi/mpi/smpi_request.cpp @@ -1059,7 +1059,7 @@ int Request::waitsome(int incount, MPI_Request requests[], int *indices, MPI_Sta indices[count] = index; count++; for (int i = 0; i < incount; i++) { - if((requests[i] != MPI_REQUEST_NULL)) { + if (requests[i] != MPI_REQUEST_NULL) { test(&requests[i], pstat,&flag); if (flag==1){ indices[count] = i;