[mpich2-commits] r7772 - mpich2/trunk/src/mpid/ch3/include
goodell at mcs.anl.gov
goodell at mcs.anl.gov
Thu Jan 20 16:08:21 CST 2011
Author: goodell
Date: 2011-01-20 16:08:21 -0600 (Thu, 20 Jan 2011)
New Revision: 7772
Modified:
mpich2/trunk/src/mpid/ch3/include/mpidpost.h
Log:
rename "inuse" local in MPID_Request_release macro
It was causing variable shadowing in a source file that used it.
Reviewed by balaji at .
Modified: mpich2/trunk/src/mpid/ch3/include/mpidpost.h
===================================================================
--- mpich2/trunk/src/mpid/ch3/include/mpidpost.h 2011-01-20 21:09:12 UTC (rev 7771)
+++ mpich2/trunk/src/mpid/ch3/include/mpidpost.h 2011-01-20 22:08:21 UTC (rev 7772)
@@ -194,10 +194,10 @@
#define MPID_Request_release(req_) \
{ \
- int inuse; \
+ int inuse_; \
\
- MPIR_Request_release_ref((req_), &inuse); \
- if (inuse == 0) \
+ MPIR_Request_release_ref((req_), &inuse_); \
+ if (inuse_ == 0) \
{ \
MPIDI_CH3_Request_destroy(req_); \
} \
More information about the mpich2-commits
mailing list