From d4fcea889f5affbc78302914ae05ca98f6a54699 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 2 Apr 2019 14:46:40 +0200 Subject: [PATCH 1/1] Useless parentheses. --- src/smpi/mpi/smpi_request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1