1
1

Clean some minor warnings: remove variables that were set but never

used.

This commit was SVN r27974.
Этот коммит содержится в:
Jeff Squyres 2013-01-29 23:35:42 +00:00
родитель 29aaa21c5a
Коммит 8e25b927ab
2 изменённых файлов: 8 добавлений и 10 удалений

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

@ -863,7 +863,6 @@ hwloc_obj_t * rmaps_lama_find_nth_subtree_match(hwloc_topology_t hwloc_topo,
int nth,
rmaps_lama_level_type_t lama_key)
{
int ret;
hwloc_obj_t *cur_child = NULL;
hwloc_obj_type_t hwloc_key;
int depth;
@ -883,7 +882,7 @@ hwloc_obj_t * rmaps_lama_find_nth_subtree_match(hwloc_topology_t hwloc_topo,
* Decend tree looking for the n'th matching subtree
*/
num_found = -1;
ret = rmaps_lama_find_nth_subtree_match_core(hwloc_topo,
rmaps_lama_find_nth_subtree_match_core(hwloc_topo,
parent_obj,
nth,
&num_found,

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

@ -583,7 +583,7 @@ static int orte_rmaps_lama_map_core(orte_job_t *jdata)
{
int ret, exit_status = ORTE_SUCCESS;
int cur_app_idx = 0;
int num_slots, num_nodes;
int num_slots;
orte_app_context_t *cur_app_context = NULL;
orte_node_t *cur_mach = 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;
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 */
initial_map = false;