Make some compilers quiet. Otherwise they complain about uninitialized variables even if
the logic inside prevent an execution path where they can be used uninitialized. This commit was SVN r6560.
Этот коммит содержится в:
родитель
96ff4b0b10
Коммит
3b52a31e1f
@ -24,7 +24,7 @@ int mca_pml_ob1_iprobe(int src,
|
||||
struct ompi_communicator_t *comm,
|
||||
int *matched, ompi_status_public_t * status)
|
||||
{
|
||||
int rc;
|
||||
int rc = OMPI_SUCCESS;
|
||||
mca_pml_ob1_recv_request_t recvreq;
|
||||
|
||||
OBJ_CONSTRUCT( &recvreq, mca_pml_ob1_recv_request_t );
|
||||
|
@ -246,7 +246,7 @@ void mca_pml_ob1_recv_request_progress(
|
||||
size_t bytes_delivered = 0;
|
||||
size_t data_offset = 0;
|
||||
mca_pml_ob1_hdr_t* hdr = (mca_pml_ob1_hdr_t*)segments->seg_addr.pval;
|
||||
bool schedule;
|
||||
bool schedule = false;
|
||||
|
||||
switch(hdr->hdr_common.hdr_type) {
|
||||
case MCA_PML_OB1_HDR_TYPE_MATCH:
|
||||
@ -333,7 +333,6 @@ void mca_pml_ob1_recv_request_progress(
|
||||
if(ompi_request_waiting) {
|
||||
opal_condition_broadcast(&ompi_request_cond);
|
||||
}
|
||||
schedule = false;
|
||||
} else if (recvreq->req_rdma_offset < recvreq->req_recv.req_bytes_packed) {
|
||||
schedule = true;
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ int mca_pml_teg_add_comm(ompi_communicator_t* comm)
|
||||
int mca_pml_teg_del_comm(ompi_communicator_t* comm)
|
||||
{
|
||||
OBJ_RELEASE(comm->c_pml_comm);
|
||||
comm->c_pml_comm = 0;
|
||||
comm->c_pml_comm = NULL; /* make sure it's set to NULL */
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@ int ompi_show_all_mca_params(int32_t rank, int requested, char *nodename) {
|
||||
mca_base_param_info_t *item;
|
||||
char *value_string;
|
||||
int value_int;
|
||||
FILE *fp;
|
||||
FILE *fp = NULL;
|
||||
time_t timestamp;
|
||||
|
||||
if (rank != 0) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user