@@ -180,7 +180,7 @@ int ompi_comm_set_nb ( ompi_communicator_t **ncomm,
180
180
if (0 < remote_size ) {
181
181
ompi_communicator_t * old_localcomm ;
182
182
183
- if (NULL == remote_group || & ompi_mpi_group_null . group == remote_group ) {
183
+ if (NULL == remote_group ) {
184
184
ret = ompi_group_incl (oldcomm -> c_remote_group , remote_size ,
185
185
remote_ranks , & newcomm -> c_remote_group );
186
186
if (OPAL_UNLIKELY (OMPI_SUCCESS != ret )) {
@@ -432,7 +432,7 @@ int ompi_comm_split( ompi_communicator_t* comm, int color, int key,
432
432
int rc = OMPI_SUCCESS ;
433
433
ompi_communicator_t * newcomp = NULL ;
434
434
int * lranks = NULL , * rranks = NULL ;
435
- ompi_group_t * local_group = NULL , * remote_group = NULL ;
435
+ ompi_group_t * local_group = NULL ;
436
436
437
437
ompi_comm_allgatherfct * allgatherfct = NULL ;
438
438
@@ -508,7 +508,6 @@ int ompi_comm_split( ompi_communicator_t* comm, int color, int key,
508
508
/* Step 2: determine all the information for the remote group */
509
509
/* --------------------------------------------------------- */
510
510
if ( inter ) {
511
- remote_group = & ompi_mpi_group_null .group ;
512
511
rsize = comm -> c_remote_group -> grp_proc_count ;
513
512
rresults = (int * ) malloc ( rsize * 2 * sizeof (int ));
514
513
if ( NULL == rresults ) {
@@ -592,7 +591,7 @@ int ompi_comm_split( ompi_communicator_t* comm, int color, int key,
592
591
comm -> error_handler ,/* error handler */
593
592
pass_on_topo ,
594
593
local_group , /* local group */
595
- remote_group ); /* remote group */
594
+ NULL ); /* remote group */
596
595
597
596
if ( NULL == newcomp ) {
598
597
rc = MPI_ERR_INTERN ;
0 commit comments