Skip to content

Commit 2bb4cff

Browse files
authored
Merge pull request #2447 from hppritcha/topic/compiler_warning_swats
btl/ugni:vader swat some compiler warnings
2 parents 7b3b3b1 + 09f47fc commit 2bb4cff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

opal/mca/btl/ugni/btl_ugni_module.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ mca_btl_ugni_module_finalize (struct mca_btl_base_module_t *btl)
131131
mca_btl_ugni_module_t *ugni_module = (mca_btl_ugni_module_t *)btl;
132132
mca_btl_base_endpoint_t *ep;
133133
uint64_t key;
134-
void *node;
135134
int rc;
136135

137136
while (ugni_module->active_send_count) {

opal/mca/btl/vader/btl_vader_xpmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ mca_rcache_base_registration_t *vader_get_registation (struct mca_btl_base_endpo
7676
vader_check_reg_ctx_t check_ctx = {.ep = ep, .reg = &reg, .vma_module = vma_module};
7777
xpmem_addr_t xpmem_addr;
7878
uintptr_t base, bound;
79-
int rc, i;
79+
int rc;
8080

8181
base = OPAL_DOWN_ALIGN((uintptr_t) rem_ptr, attach_align, uintptr_t);
8282
bound = OPAL_ALIGN((uintptr_t) rem_ptr + size - 1, attach_align, uintptr_t) + 1;

0 commit comments

Comments
 (0)