1
1

rmaps/base: swat compiler warning

gcc was complaining about variables possibly used uninitialized

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Этот коммит содержится в:
Howard Pritchard 2017-03-09 14:30:06 -06:00
родитель 1a95633e40
Коммит f8183f71f7

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

@ -45,8 +45,8 @@
int orte_rmaps_base_map_job(orte_job_t *jdata) int orte_rmaps_base_map_job(orte_job_t *jdata)
{ {
orte_node_t *node; orte_node_t *node;
int rc, i, ppx; int rc, i, ppx = 0;
bool did_map, given, pernode; bool did_map, given, pernode = false;
orte_rmaps_base_selected_module_t *mod; orte_rmaps_base_selected_module_t *mod;
orte_job_t *parent; orte_job_t *parent;
orte_vpid_t nprocs; orte_vpid_t nprocs;