Silence few warnings.
This commit was SVN r18568.
Этот коммит содержится в:
родитель
fa89d299bf
Коммит
25ae9c12e6
@ -102,7 +102,6 @@ int orte_odls_base_default_get_add_procs_data(opal_buffer_t *data,
|
|||||||
boptr = &bo;
|
boptr = &bo;
|
||||||
if (ORTE_SUCCESS != (rc = opal_dss.pack(data, &boptr, 1, OPAL_BYTE_OBJECT))) {
|
if (ORTE_SUCCESS != (rc = opal_dss.pack(data, &boptr, 1, OPAL_BYTE_OBJECT))) {
|
||||||
ORTE_ERROR_LOG(rc);
|
ORTE_ERROR_LOG(rc);
|
||||||
OBJ_RELEASE(wireup);
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
/* release the data since it has now been copied into our buffer */
|
/* release the data since it has now been copied into our buffer */
|
||||||
@ -1326,8 +1325,6 @@ int orte_odls_base_default_require_sync(orte_process_name_t *proc,
|
|||||||
orte_std_cntr_t cnt;
|
orte_std_cntr_t cnt;
|
||||||
int rc;
|
int rc;
|
||||||
bool found=false;
|
bool found=false;
|
||||||
orte_odls_job_t *jobdat;
|
|
||||||
|
|
||||||
|
|
||||||
/* protect operations involving the global list of children */
|
/* protect operations involving the global list of children */
|
||||||
OPAL_THREAD_LOCK(&orte_odls_globals.mutex);
|
OPAL_THREAD_LOCK(&orte_odls_globals.mutex);
|
||||||
@ -1388,6 +1385,7 @@ int orte_odls_base_default_require_sync(orte_process_name_t *proc,
|
|||||||
OBJ_CONSTRUCT(&buffer, opal_buffer_t);
|
OBJ_CONSTRUCT(&buffer, opal_buffer_t);
|
||||||
/* do they want the nidmap? */
|
/* do they want the nidmap? */
|
||||||
if (drop_nidmap) {
|
if (drop_nidmap) {
|
||||||
|
orte_odls_job_t *jobdat = NULL;
|
||||||
/* get the jobdata object */
|
/* get the jobdata object */
|
||||||
for (item = opal_list_get_first(&orte_odls_globals.jobs);
|
for (item = opal_list_get_first(&orte_odls_globals.jobs);
|
||||||
item != opal_list_get_end(&orte_odls_globals.jobs);
|
item != opal_list_get_end(&orte_odls_globals.jobs);
|
||||||
|
@ -506,7 +506,7 @@ static void mca_oob_tcp_accept(int incoming_sd)
|
|||||||
static int
|
static int
|
||||||
mca_oob_tcp_create_listen(int *target_sd, unsigned short *target_port, uint16_t af_family)
|
mca_oob_tcp_create_listen(int *target_sd, unsigned short *target_port, uint16_t af_family)
|
||||||
{
|
{
|
||||||
int flags, index, range, port=0;
|
int flags, index, range = 0, port=0;
|
||||||
struct sockaddr_storage inaddr;
|
struct sockaddr_storage inaddr;
|
||||||
opal_socklen_t addrlen;
|
opal_socklen_t addrlen;
|
||||||
|
|
||||||
|
@ -842,7 +842,7 @@ cleanup:
|
|||||||
*/
|
*/
|
||||||
int orte_plm_rsh_launch(orte_job_t *jdata)
|
int orte_plm_rsh_launch(orte_job_t *jdata)
|
||||||
{
|
{
|
||||||
orte_job_map_t *map;
|
orte_job_map_t *map = NULL;
|
||||||
int node_name_index1;
|
int node_name_index1;
|
||||||
int node_name_index2;
|
int node_name_index2;
|
||||||
int proc_vpid_index;
|
int proc_vpid_index;
|
||||||
@ -1156,7 +1156,7 @@ launch_apps:
|
|||||||
* the state-of-health of the orteds, if requested AND
|
* the state-of-health of the orteds, if requested AND
|
||||||
* we actually launched some daemons!
|
* we actually launched some daemons!
|
||||||
*/
|
*/
|
||||||
if (0 < map->num_new_daemons) {
|
if ((NULL != map) && (0 < map->num_new_daemons)) {
|
||||||
orte_plm_base_start_heart();
|
orte_plm_base_start_heart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user