Skip to content

Commit 14bbcbe

Browse files
committed
Coverity CID 1472864 is invalid; add an assert to make this more
explicit Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu>
1 parent 2daacdf commit 14bbcbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/communicator/ft/comm_ft_reliable_bcast.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ static int ompi_comm_rbcast_bmg(ompi_communicator_t* comm, ompi_comm_rbcast_mess
7373
proc = ompi_group_peer_lookup(lgrp, idx);
7474
}
7575
else {
76+
assert(NULL != hgrp); assert(OMPI_COMM_IS_INTER(comm));
7677
proc = ompi_group_peer_lookup(hgrp, idx-ompi_group_size(lgrp));
7778
}
7879
if( ompi_proc_is_active(proc) ) {

0 commit comments

Comments
 (0)