1
1

Stomps compiler warnings in HCA min-dist calculation. This should be added to cmr:v1.7:reviewer=jladd

This commit was SVN r28620.
Этот коммит содержится в:
Joshua Ladd 2013-06-12 16:25:25 +00:00
родитель db9bce0926
Коммит 46362d2761
2 изменённых файлов: 2 добавлений и 4 удалений

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

@ -150,7 +150,6 @@ int opal_hwloc_unpack(opal_buffer_t *buffer, void *dest,
int opal_hwloc_copy(hwloc_topology_t *dest, hwloc_topology_t src, opal_data_type_t type)
{
int i;
char *xml;
int len;
struct hwloc_topology_support *support, *destsupport;

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

@ -1653,12 +1653,11 @@ static void sort_by_dist(hwloc_topology_t topo, const char* device_name, opal_li
hwloc_obj_t device_obj = NULL;
hwloc_obj_t obj = NULL, root = NULL;
const struct hwloc_distances_s* distances;
opal_list_item_t *numa_item;
orte_rmaps_numa_node_t *numa_node;
int close_node_index;
float latency;
int j;
int depth;
unsigned int j;
unsigned int depth;
unsigned i;
for (device_obj = hwloc_get_obj_by_type(topo, HWLOC_OBJ_OS_DEVICE, 0); device_obj; device_obj = hwloc_get_next_osdev(topo, device_obj)) {