From 09f47fcf8e93cfce90b2f206619751523a4be19c Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Mon, 21 Nov 2016 14:58:34 -0600 Subject: [PATCH] btl/ugni:vader swat some compiler warnings Swat some compiler warnings. Signed-off-by: Howard Pritchard --- opal/mca/btl/ugni/btl_ugni_module.c | 1 - opal/mca/btl/vader/btl_vader_xpmem.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/opal/mca/btl/ugni/btl_ugni_module.c b/opal/mca/btl/ugni/btl_ugni_module.c index 19b29de2bf..90d4acd466 100644 --- a/opal/mca/btl/ugni/btl_ugni_module.c +++ b/opal/mca/btl/ugni/btl_ugni_module.c @@ -131,7 +131,6 @@ mca_btl_ugni_module_finalize (struct mca_btl_base_module_t *btl) mca_btl_ugni_module_t *ugni_module = (mca_btl_ugni_module_t *)btl; mca_btl_base_endpoint_t *ep; uint64_t key; - void *node; int rc; while (ugni_module->active_send_count) { diff --git a/opal/mca/btl/vader/btl_vader_xpmem.c b/opal/mca/btl/vader/btl_vader_xpmem.c index 09203c9202..f635b2c6cd 100644 --- a/opal/mca/btl/vader/btl_vader_xpmem.c +++ b/opal/mca/btl/vader/btl_vader_xpmem.c @@ -76,7 +76,7 @@ mca_rcache_base_registration_t *vader_get_registation (struct mca_btl_base_endpo vader_check_reg_ctx_t check_ctx = {.ep = ep, .reg = ®, .vma_module = vma_module}; xpmem_addr_t xpmem_addr; uintptr_t base, bound; - int rc, i; + int rc; base = OPAL_DOWN_ALIGN((uintptr_t) rem_ptr, attach_align, uintptr_t); bound = OPAL_ALIGN((uintptr_t) rem_ptr + size - 1, attach_align, uintptr_t) + 1;