Silence warnings
This commit was SVN r28244.
Этот коммит содержится в:
родитель
70f6f92a11
Коммит
1b5b9afa85
@ -89,7 +89,6 @@ static int rte_init(void)
|
|||||||
char *cs_env, *string_key;
|
char *cs_env, *string_key;
|
||||||
char *pmi_id=NULL;
|
char *pmi_id=NULL;
|
||||||
int *ranks;
|
int *ranks;
|
||||||
char *tmp;
|
|
||||||
orte_jobid_t jobid;
|
orte_jobid_t jobid;
|
||||||
orte_process_name_t proc;
|
orte_process_name_t proc;
|
||||||
orte_local_rank_t local_rank;
|
orte_local_rank_t local_rank;
|
||||||
|
@ -69,7 +69,7 @@ static int info_register_framework (mca_base_framework_t *framework, opal_pointe
|
|||||||
|
|
||||||
int orte_info_register_framework_params(opal_pointer_array_t *component_map)
|
int orte_info_register_framework_params(opal_pointer_array_t *component_map)
|
||||||
{
|
{
|
||||||
char *str;
|
char *str=NULL;
|
||||||
int i, rc;
|
int i, rc;
|
||||||
|
|
||||||
/* Register the ORTE layer's MCA parameters */
|
/* Register the ORTE layer's MCA parameters */
|
||||||
@ -89,7 +89,8 @@ int orte_info_register_framework_params(opal_pointer_array_t *component_map)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ORTE_ERR_BAD_PARAM == rc) {
|
if (ORTE_ERR_BAD_PARAM == rc) {
|
||||||
fprintf(stderr, "\nA \"bad parameter\" error was encountered when opening the ORTE %s framework\n", str);
|
fprintf(stderr, "\nA \"bad parameter\" error was encountered when opening the ORTE %s framework\n",
|
||||||
|
(NULL == str) ? "NULL" : str);
|
||||||
fprintf(stderr, "The output received from that framework includes the following parameters:\n\n");
|
fprintf(stderr, "The output received from that framework includes the following parameters:\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user