From: degomme Date: Tue, 7 Feb 2017 16:39:50 +0000 (+0100) Subject: try to fix build for gcc 7 X-Git-Tag: v3_15~469 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/64fd07d1046fda8e8cbfe44234a5a0be329d89b5 try to fix build for gcc 7 --- diff --git a/src/smpi/smpi_rma.cpp b/src/smpi/smpi_rma.cpp index a9ca5610dd..def9c738b2 100644 --- a/src/smpi/smpi_rma.cpp +++ b/src/smpi/smpi_rma.cpp @@ -97,6 +97,8 @@ void smpi_mpi_win_get_name(MPI_Win win, char* name, int* length){ void smpi_mpi_win_get_group(MPI_Win win, MPI_Group* group){ if(win->comm != MPI_COMM_NULL){ *group = smpi_comm_group(win->comm); + } else { + *group = MPI_GROUP_NULL; } }