Fix another clang warning: sendreq is undefined if proc==NULL.
cmr=v1.7.4:reviewer=hjelmn:subject=fix ob1 undefined sendreq value This commit was SVN r29774.
Этот коммит содержится в:
родитель
16c63c5bbe
Коммит
3a7af4ab40
@ -97,7 +97,7 @@ int mca_pml_ob1_send(void *buf,
|
|||||||
ompi_communicator_t * comm)
|
ompi_communicator_t * comm)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
mca_pml_ob1_send_request_t *sendreq;
|
mca_pml_ob1_send_request_t *sendreq = NULL;
|
||||||
|
|
||||||
MCA_PML_OB1_SEND_REQUEST_ALLOC(comm, dst, sendreq);
|
MCA_PML_OB1_SEND_REQUEST_ALLOC(comm, dst, sendreq);
|
||||||
if (NULL == sendreq)
|
if (NULL == sendreq)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user