1
1

Merge pull request #5269 from hppritcha/topic/squash_gcc7.3.0_warnings

topo/treematch - quash compiler warning
Этот коммит содержится в:
Howard Pritchard 2018-06-13 21:13:04 -05:00 коммит произвёл GitHub
родитель f9bfb9d239 64de269cc3
Коммит 7dcab6e4a4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 5 добавлений и 5 удалений

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

@ -1642,7 +1642,7 @@ int ompi_osc_pt2pt_process_receive (ompi_osc_pt2pt_receive_t *recv)
ompi_osc_pt2pt_header_t *base_header = (ompi_osc_pt2pt_header_t *) recv->buffer;
size_t incoming_length = recv->pml_request->req_status._ucount;
int source = recv->pml_request->req_status.MPI_SOURCE;
int rc;
int rc __opal_attribute_unused__;
assert(incoming_length >= sizeof(ompi_osc_pt2pt_header_base_t));
(void)incoming_length; // silence compiler warning

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

@ -443,7 +443,8 @@ int ompi_osc_rdma_complete_atomic (ompi_win_t *win)
ompi_osc_rdma_sync_t *sync = &module->all_sync;
ompi_osc_rdma_peer_t **peers;
ompi_group_t *group;
int group_size, ret;
int group_size;
int ret __opal_attribute_unused__;
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "complete: %s", win->w_name);

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

@ -135,7 +135,7 @@ int mca_topo_treematch_dist_graph_create(mca_topo_base_module_t* topo_module,
int *lindex_to_grank = NULL;
int *nodes_roots = NULL, *k = NULL;
int *localrank_to_objnum = NULL;
int depth, effective_depth, obj_rank = -1;
int depth, effective_depth = 0, obj_rank = -1;
int num_objs_in_node = 0, num_pus_in_node = 0;
int numlevels = 0, num_nodes = 0, num_procs_in_node = 0;
int rank, size, newrank = -1, hwloc_err, i, j, idx;

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

@ -503,7 +503,7 @@ mca_btl_ugni_component_init (int *num_btl_modules,
int mca_btl_ugni_progress_datagram (mca_btl_ugni_device_t *device)
{
mca_btl_ugni_module_t *ugni_module = mca_btl_ugni_component.modules;
mca_btl_base_endpoint_t *ep;
mca_btl_base_endpoint_t *ep = NULL;
gni_ep_handle_t handle;
int count = 0, rc;

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

@ -153,7 +153,6 @@ mca_rcache_base_registration_t *vader_get_registation (struct mca_btl_base_endpo
static int mca_btl_vader_endpoint_xpmem_rcache_cleanup (mca_rcache_base_registration_t *reg, void *ctx)
{
mca_rcache_base_vma_module_t *vma_module = mca_btl_vader_component.vma_module;
mca_btl_vader_endpoint_t *ep = (mca_btl_vader_endpoint_t *) ctx;
if ((intptr_t) reg->alloc_base == ep->peer_smp_rank) {
/* otherwise dereg will fail on assert */