Some minor uninitialized variable cleanups
This commit was SVN r32629.
Этот коммит содержится в:
родитель
733316372b
Коммит
730e28349e
@ -414,7 +414,6 @@ void pmix_usock_recv_handler(int sd, short flags, void *cbdata)
|
||||
/* post it for delivery */
|
||||
PMIX_ACTIVATE_POST_MSG(mca_pmix_native_component.recv_msg);
|
||||
mca_pmix_native_component.recv_msg = NULL;
|
||||
}
|
||||
} else if (OPAL_ERR_RESOURCE_BUSY == rc ||
|
||||
OPAL_ERR_WOULD_BLOCK == rc) {
|
||||
/* exit this event and let the event lib progress */
|
||||
@ -429,6 +428,7 @@ void pmix_usock_recv_handler(int sd, short flags, void *cbdata)
|
||||
CLOSE_THE_SOCKET(mca_pmix_native_component.sd);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
opal_output(0, "%s usock_peer_recv_handler: invalid socket state(%d)",
|
||||
|
@ -809,7 +809,13 @@ static void recv_data(int fd, short args, void *cbdata)
|
||||
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_ALLOC_FAILED);
|
||||
return;
|
||||
}
|
||||
if (idx < 0 || NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, idx))) {
|
||||
if (idx < 0) {
|
||||
orte_show_help("help-ras-slurm.txt", "slurm-dyn-alloc-failed", true, jtrk->cmd);
|
||||
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_ALLOC_FAILED);
|
||||
opal_argv_free(alloc);
|
||||
return;
|
||||
}
|
||||
if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, idx))) {
|
||||
orte_show_help("help-ras-slurm.txt", "slurm-dyn-alloc-failed", true, jtrk->cmd);
|
||||
ORTE_ACTIVATE_JOB_STATE(jdata, ORTE_JOB_STATE_ALLOC_FAILED);
|
||||
opal_argv_free(alloc);
|
||||
|
@ -1304,7 +1304,6 @@ void pmix_server_recv_handler(int sd, short flags, void *cbdata)
|
||||
peer->recv_msg->hdr.tag);
|
||||
/* process the message */
|
||||
process_message(peer);
|
||||
}
|
||||
} else if (ORTE_ERR_RESOURCE_BUSY == rc ||
|
||||
ORTE_ERR_WOULD_BLOCK == rc) {
|
||||
/* exit this event and let the event lib progress */
|
||||
@ -1321,6 +1320,7 @@ void pmix_server_recv_handler(int sd, short flags, void *cbdata)
|
||||
CLOSE_THE_SOCKET(peer->sd);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
opal_output(0, "%s-%s pmix_server_peer_recv_handler: invalid socket state(%d)",
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user