diff --git a/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c b/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c index 6870ccceab..c4257361f4 100644 --- a/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c +++ b/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c @@ -5,6 +5,8 @@ * Copyright (c) 2009 IBM Corporation. All rights reserved. * Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2014 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * * $COPYRIGHT$ * @@ -2215,7 +2217,6 @@ static int udcm_xrc_start_connect (opal_btl_openib_connect_base_module_t *cpc, mca_btl_base_endpoint_t *lcl_ep) { udcm_endpoint_t *udep = UDCM_ENDPOINT_DATA(lcl_ep); - udcm_module_t *m = UDCM_ENDPOINT_MODULE(lcl_ep); int rc = OPAL_SUCCESS; opal_mutex_lock (&udep->udep_lock); @@ -2311,7 +2312,7 @@ static int udcm_xrc_send_qp_connect (mca_btl_openib_endpoint_t *lcl_ep, udcm_msg uint32_t psn; int ret; - BTL_VERBOSE(("Connecting send qp: %d, remote qp: %d", lcl_ep->qps[0].qp->lcl_qp, + BTL_VERBOSE(("Connecting send qp: %p, remote qp: %d", (void *)lcl_ep->qps[0].qp->lcl_qp, msg_hdr->data.xres.rem_qp_num)); assert(NULL != lcl_ep->qps); qp = lcl_ep->qps[0].qp->lcl_qp; diff --git a/opal/mca/btl/scif/btl_scif_get.c b/opal/mca/btl/scif/btl_scif_get.c index dc9f1e6a9c..4f97eadb0e 100644 --- a/opal/mca/btl/scif/btl_scif_get.c +++ b/opal/mca/btl/scif/btl_scif_get.c @@ -2,6 +2,8 @@ /* * Copyright (c) 2013 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2014 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -31,7 +33,6 @@ int mca_btl_scif_get (struct mca_btl_base_module_t *btl, size_t len = lmin (src->base.seg_len, dst->base.seg_len); int rc, mark, flags = 0; off_t roffset, loffset; - size_t to_get; #if defined(SCIF_TIMING) struct timespec ts; diff --git a/opal/mca/btl/scif/btl_scif_send.c b/opal/mca/btl/scif/btl_scif_send.c index 9882da9f61..5abb71c761 100644 --- a/opal/mca/btl/scif/btl_scif_send.c +++ b/opal/mca/btl/scif/btl_scif_send.c @@ -2,6 +2,8 @@ /* * Copyright (c) 2013 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2014 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -113,7 +115,6 @@ static int mca_btl_scif_send_frag (struct mca_btl_base_endpoint_t *endpoint, mca_btl_scif_base_frag_t *frag) { size_t size = frag->hdr.size; - uint8_t tag = frag->hdr.tag; unsigned char * restrict dst; BTL_VERBOSE(("btl/scif sending descriptor %p from %d -> %d. length = %" PRIu64, (void *) frag,