[PATCH] use 0 to indicate false in while expression

Ken Raffenetti raffenet at mcs.anl.gov
Mon Nov 17 22:06:21 CST 2014


---
 src/mpid/ch3/src/ch3u_recvq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mpid/ch3/src/ch3u_recvq.c b/src/mpid/ch3/src/ch3u_recvq.c
index 48ba6496..ff769f70 100644
--- a/src/mpid/ch3/src/ch3u_recvq.c
+++ b/src/mpid/ch3/src/ch3u_recvq.c
@@ -595,7 +595,7 @@ MPID_Request * MPIDI_CH3U_Recvq_FDU_or_AEP(int source, int tag,
                 prev_rreq = rreq;
                 rreq = rreq->dev.next;
             } while (rreq);
-        } while (false);
+        } while (0);
 	}
     }
     MPIR_T_PVAR_TIMER_END(RECVQ, time_matching_unexpectedq);
-- 
1.9.1


--------------010402000901060402040207
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
--------------010402000901060402040207--


More information about the discuss mailing list