diff --git a/orte/mca/ess/hnp/ess_hnp_module.c b/orte/mca/ess/hnp/ess_hnp_module.c index 7c16e67a69..e7f80f56de 100644 --- a/orte/mca/ess/hnp/ess_hnp_module.c +++ b/orte/mca/ess/hnp/ess_hnp_module.c @@ -489,8 +489,6 @@ static int rte_init(void) OBJ_RETAIN(node); /* keep accounting straight */ proc->node = node; proc->nodename = node->name; - /* Assume we won't fail unless notified by a child */ - proc->exit_code = 0; opal_pointer_array_add(jdata->procs, proc); /* record that the daemon (i.e., us) is on this node diff --git a/orte/mca/rmaps/base/rmaps_base_support_fns.c b/orte/mca/rmaps/base/rmaps_base_support_fns.c index 49a689e8e7..b1ff7d0195 100644 --- a/orte/mca/rmaps/base/rmaps_base_support_fns.c +++ b/orte/mca/rmaps/base/rmaps_base_support_fns.c @@ -731,8 +731,6 @@ int orte_rmaps_base_define_daemons(orte_job_t *jdata) proc->name.vpid = daemons->num_procs; /* take the next available vpid */ proc->node = node; proc->nodename = node->name; - /* Assume we won't fail unless notified by a child */ - proc->exit_code = 0; OPAL_OUTPUT_VERBOSE((5, orte_rmaps_base.rmaps_output, "%s rmaps:base:define_daemons add new daemon %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), diff --git a/orte/runtime/orte_globals.c b/orte/runtime/orte_globals.c index 23d44a15da..7f31a5d6bc 100644 --- a/orte/runtime/orte_globals.c +++ b/orte/runtime/orte_globals.c @@ -887,6 +887,7 @@ static void orte_proc_construct(orte_proc_t* proc) proc->node = NULL; proc->prior_node = NULL; proc->nodename = NULL; + proc->exit_code = 0; /* Assume we won't fail unless otherwise notified */ proc->rml_uri = NULL; proc->restarts = 0; proc->reported = false;