[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.2-129-g644714d

Service Account noreply at mpich.org
Fri Aug 29 11:42:25 CDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  644714d0a5ba1b8a21cb2f557714f99bd2e6a1df (commit)
      from  afa6e0c59ff3499809083bbff7301436c02de2fb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/644714d0a5ba1b8a21cb2f557714f99bd2e6a1df

commit 644714d0a5ba1b8a21cb2f557714f99bd2e6a1df
Author: Wesley Bland <wbland at anl.gov>
Date:   Fri Aug 29 07:30:03 2014 -0400

    Silence compiler warning about unused variable
    
    I accidentally introduced a compiler warning in `a184bd016`. This checks the
    value of mpi_errno after using it to silence the warning.
    
    Signed-off-by: Antonio J. Pena <apenya at mcs.anl.gov>

diff --git a/src/mpid/ch3/src/ch3u_recvq.c b/src/mpid/ch3/src/ch3u_recvq.c
index f1f2443..8a76d13 100644
--- a/src/mpid/ch3/src/ch3u_recvq.c
+++ b/src/mpid/ch3/src/ch3u_recvq.c
@@ -813,7 +813,7 @@ MPID_Request * MPIDI_CH3U_Recvq_FDP_or_AEU(MPIDI_Message_match * match,
      * anyway. */
     {
         MPID_Comm *comm_ptr;
-        int mpi_errno;
+        int mpi_errno ATTRIBUTE((unused)) = MPI_SUCCESS;
 
         MPIDI_CH3I_Comm_find(match->parts.context_id, &comm_ptr);
 
@@ -821,6 +821,7 @@ MPID_Request * MPIDI_CH3U_Recvq_FDP_or_AEU(MPIDI_Message_match * match,
                         comm_ptr->revoked && MPIR_TAG_MASK_ERROR_BIT(match->parts.tag) != MPIR_SHRINK_TAG) {
             *foundp = FALSE;
             MPIDI_Request_create_null_rreq( rreq, mpi_errno, found=FALSE;goto lock_exit );
+            MPIU_Assert(mpi_errno == MPI_SUCCESS);
 
             MPIU_DBG_MSG_FMT(CH3_OTHER, VERBOSE,
                 (MPIU_DBG_FDEST, "RECEIVED MESSAGE FOR REVOKED COMM (tag=%d,src=%d,cid=%d)\n", MPIR_TAG_MASK_ERROR_BIT(match->parts.tag), match->parts.rank, comm_ptr->context_id));

-----------------------------------------------------------------------

Summary of changes:
 src/mpid/ch3/src/ch3u_recvq.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list