1
1

Clean up a few compiler warnings courtesy of Jeff

This commit was SVN r12430.
Этот коммит содержится в:
Ralph Castain 2006-11-03 20:45:22 +00:00
родитель c77f6c605e
Коммит d182ae7472
4 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -59,7 +59,7 @@ int orte_odls_bproc_finalize(void);
int orte_odls_bproc_subscribe_launch_data(orte_jobid_t job, orte_gpr_notify_cb_fn_t cbfunc);
int orte_odls_bproc_launch_local_procs(orte_gpr_notify_data_t *data, char **base_environ);
int orte_odls_bproc_kill_local_procs(orte_jobid_t job, bool set_state);
int orte_odls_bproc_signal_local_procs(orte_process_name_t* proc_name, int32_t signal);
int orte_odls_bproc_signal_local_procs(const orte_process_name_t* proc_name, int32_t signal);
/**
* ODLS bproc_orted component

Просмотреть файл

@ -88,7 +88,10 @@ static size_t orte_ras_bjs_node_slots(char* node_name)
return count;
}
#if 0
/* hang on to this code - it is used in the discover procedure, but
* is currently disabled
*/
/**
* Resolve the node name to node number.
*/
@ -100,6 +103,7 @@ static int orte_ras_bjs_node_resolve(char* node_name, int* node_num)
return ORTE_ERROR;
return ORTE_SUCCESS;
}
#endif
/**

Просмотреть файл

@ -369,7 +369,7 @@ static int orte_rmgr_proxy_spawn_job(
/* check for any flow directives to control what we do */
if (NULL != (flow = orte_rmgr.find_attribute(attributes, ORTE_RMGR_SPAWN_FLOW))) {
/* something was specified - get the value */
if (ORTE_SUCCESS != (rc = orte_dss.get(&fptr, flow->value, ORTE_UINT8))) {
if (ORTE_SUCCESS != (rc = orte_dss.get((void**)&fptr, flow->value, ORTE_UINT8))) {
ORTE_ERROR_LOG(rc);
return rc;
}

Просмотреть файл

@ -312,7 +312,7 @@ static int orte_rmgr_urm_spawn_job(
/* check for any flow directives to control what we do */
if (NULL != (flow = orte_rmgr.find_attribute(attributes, ORTE_RMGR_SPAWN_FLOW))) {
/* something was specified - get the value */
if (ORTE_SUCCESS != (rc = orte_dss.get(&fptr, flow->value, ORTE_UINT8))) {
if (ORTE_SUCCESS != (rc = orte_dss.get((void**)&fptr, flow->value, ORTE_UINT8))) {
ORTE_ERROR_LOG(rc);
return rc;
}