[mpich2-commits] r4066 - in mpich2/trunk/src/mpi: attr datatype
goodell at mcs.anl.gov
goodell at mcs.anl.gov
Sat Mar 14 12:00:01 CDT 2009
Author: goodell
Date: 2009-03-14 12:00:00 -0500 (Sat, 14 Mar 2009)
New Revision: 4066
Modified:
mpich2/trunk/src/mpi/attr/attrutil.c
mpich2/trunk/src/mpi/datatype/typeutil.c
Log:
Followup to r4060. Missed one case and a warning.
No reviewer.
Modified: mpich2/trunk/src/mpi/attr/attrutil.c
===================================================================
--- mpich2/trunk/src/mpi/attr/attrutil.c 2009-03-14 12:22:54 UTC (rev 4065)
+++ mpich2/trunk/src/mpi/attr/attrutil.c 2009-03-14 17:00:00 UTC (rev 4066)
@@ -227,7 +227,6 @@
{
MPID_Attribute *p, *new_p;
int mpi_errno = MPI_SUCCESS;
- MPID_Comm *comm_ptr;
p = *attr;
while (p) {
Modified: mpich2/trunk/src/mpi/datatype/typeutil.c
===================================================================
--- mpich2/trunk/src/mpi/datatype/typeutil.c 2009-03-14 12:22:54 UTC (rev 4065)
+++ mpich2/trunk/src/mpi/datatype/typeutil.c 2009-03-14 17:00:00 UTC (rev 4066)
@@ -287,7 +287,7 @@
dtype = &MPID_Datatype_builtin[i];
if (dtype && MPIR_Process.attr_free && dtype->attributes) {
mpi_errno = MPIR_Process.attr_free( dtype->handle,
- dtype->attributes );
+ &dtype->attributes );
/* During finalize, we ignore error returns from the free */
}
}
More information about the mpich2-commits
mailing list