[mpich2-commits] r6701 - in mpich2/trunk/src/mpid/ch3/channels: nemesis/nemesis/src sock/src
goodell at mcs.anl.gov
goodell at mcs.anl.gov
Fri May 21 10:17:39 CDT 2010
Author: goodell
Date: 2010-05-21 10:17:39 -0500 (Fri, 21 May 2010)
New Revision: 6701
Modified:
mpich2/trunk/src/mpid/ch3/channels/nemesis/nemesis/src/mpid_nem_ckpt.c
mpich2/trunk/src/mpid/ch3/channels/sock/src/ch3_isendv.c
Log:
add missing semicolons after MPIU_Assert
These lines were always wrong, but the old implementation of MPIU_Assert
(prior to r6685) didn't use a do{}while(0) and so would compile anyway.
No reviewer.
Modified: mpich2/trunk/src/mpid/ch3/channels/nemesis/nemesis/src/mpid_nem_ckpt.c
===================================================================
--- mpich2/trunk/src/mpid/ch3/channels/nemesis/nemesis/src/mpid_nem_ckpt.c 2010-05-21 03:34:48 UTC (rev 6700)
+++ mpich2/trunk/src/mpid/ch3/channels/nemesis/nemesis/src/mpid_nem_ckpt.c 2010-05-21 15:17:39 UTC (rev 6701)
@@ -462,7 +462,7 @@
if (!vc_ch->is_local) {
if (mpi_errno) MPIU_ERR_POP(mpi_errno);
/* There should be nothing in the channel following this. */
- MPIU_Assert(*buflen == sizeof(MPIDI_CH3_Pkt_t))
+ MPIU_Assert(*buflen == sizeof(MPIDI_CH3_Pkt_t));
}
if (marker_count == 0) {
Modified: mpich2/trunk/src/mpid/ch3/channels/sock/src/ch3_isendv.c
===================================================================
--- mpich2/trunk/src/mpid/ch3/channels/sock/src/ch3_isendv.c 2010-05-21 03:34:48 UTC (rev 6700)
+++ mpich2/trunk/src/mpid/ch3/channels/sock/src/ch3_isendv.c 2010-05-21 15:17:39 UTC (rev 6701)
@@ -51,7 +51,7 @@
MPIDI_FUNC_ENTER(MPID_STATE_MPIDI_CH3_ISENDV);
MPIU_Assert(n_iov <= MPID_IOV_LIMIT);
- MPIU_Assert(iov[0].MPID_IOV_LEN <= sizeof(MPIDI_CH3_Pkt_t))
+ MPIU_Assert(iov[0].MPID_IOV_LEN <= sizeof(MPIDI_CH3_Pkt_t));
/* The sock channel uses a fixed length header, the size of which is the
maximum of all possible packet headers */
More information about the mpich2-commits
mailing list