Clean some minor warnings: remove variables that were set but never
used. This commit was SVN r27974.
Этот коммит содержится в:
родитель
29aaa21c5a
Коммит
8e25b927ab
@ -863,7 +863,6 @@ hwloc_obj_t * rmaps_lama_find_nth_subtree_match(hwloc_topology_t hwloc_topo,
|
|||||||
int nth,
|
int nth,
|
||||||
rmaps_lama_level_type_t lama_key)
|
rmaps_lama_level_type_t lama_key)
|
||||||
{
|
{
|
||||||
int ret;
|
|
||||||
hwloc_obj_t *cur_child = NULL;
|
hwloc_obj_t *cur_child = NULL;
|
||||||
hwloc_obj_type_t hwloc_key;
|
hwloc_obj_type_t hwloc_key;
|
||||||
int depth;
|
int depth;
|
||||||
@ -883,13 +882,13 @@ hwloc_obj_t * rmaps_lama_find_nth_subtree_match(hwloc_topology_t hwloc_topo,
|
|||||||
* Decend tree looking for the n'th matching subtree
|
* Decend tree looking for the n'th matching subtree
|
||||||
*/
|
*/
|
||||||
num_found = -1;
|
num_found = -1;
|
||||||
ret = rmaps_lama_find_nth_subtree_match_core(hwloc_topo,
|
rmaps_lama_find_nth_subtree_match_core(hwloc_topo,
|
||||||
parent_obj,
|
parent_obj,
|
||||||
nth,
|
nth,
|
||||||
&num_found,
|
&num_found,
|
||||||
hwloc_key,
|
hwloc_key,
|
||||||
depth,
|
depth,
|
||||||
cur_child);
|
cur_child);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check to see if we found it
|
* Check to see if we found it
|
||||||
|
@ -583,7 +583,7 @@ static int orte_rmaps_lama_map_core(orte_job_t *jdata)
|
|||||||
{
|
{
|
||||||
int ret, exit_status = ORTE_SUCCESS;
|
int ret, exit_status = ORTE_SUCCESS;
|
||||||
int cur_app_idx = 0;
|
int cur_app_idx = 0;
|
||||||
int num_slots, num_nodes;
|
int num_slots;
|
||||||
orte_app_context_t *cur_app_context = NULL;
|
orte_app_context_t *cur_app_context = NULL;
|
||||||
orte_node_t *cur_mach = NULL;
|
orte_node_t *cur_mach = NULL;
|
||||||
orte_node_t **cur_mach_ptr = NULL;
|
orte_node_t **cur_mach_ptr = NULL;
|
||||||
@ -637,7 +637,6 @@ static int orte_rmaps_lama_map_core(orte_job_t *jdata)
|
|||||||
exit_status = ret;
|
exit_status = ret;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
num_nodes = (orte_std_cntr_t)opal_list_get_size(node_list);
|
|
||||||
/* Flag that all subsequent requests should not reset the node->mapped flag */
|
/* Flag that all subsequent requests should not reset the node->mapped flag */
|
||||||
initial_map = false;
|
initial_map = false;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user