Skip to content

Commit ed3964d

Browse files
authored
Merge pull request open-mpi#13411 from hppritcha/squash_bsend_comp_warning2
squash compiler warning in bsend method
2 parents 20d0968 + 31ddaa2 commit ed3964d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/pml/base/pml_base_bsend.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ int mca_pml_base_bsend_attach(ompi_bsend_buffer_type_t type, void *obj, void* ad
214214
int align;
215215
int ret = MPI_SUCCESS;
216216
mca_pml_bsend_buffer_t *buf_instance;
217-
ompi_communicator_t *comm;
218-
ompi_instance_t *instance;
217+
ompi_communicator_t *comm = NULL;
218+
ompi_instance_t *instance = NULL;
219219

220220
if(NULL == addr || ((MPI_BUFFER_AUTOMATIC != addr) && size <= 0)) {
221221
return OMPI_ERR_BUFFER;

0 commit comments

Comments
 (0)