summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-18 15:01:41 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-18 15:01:41 (GMT)
commitb247ef2d8948f29d37f93b9cfc60683c98bceeda (patch)
tree33802e06424d09838b97bfba36918be196c0f794
parent886039ab68cf0c9a3242fb96676c815141571d38 (diff)
downloadhdf5-b247ef2d8948f29d37f93b9cfc60683c98bceeda.zip
hdf5-b247ef2d8948f29d37f93b9cfc60683c98bceeda.tar.gz
hdf5-b247ef2d8948f29d37f93b9cfc60683c98bceeda.tar.bz2
[svn-r22378] removed the parallel #endif by mistake.. oops
remove an un-needed bool
-rw-r--r--src/H5Dmpio.c2
-rw-r--r--src/H5FDmpi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c
index 70eda7e..9b8fa27 100644
--- a/src/H5Dmpio.c
+++ b/src/H5Dmpio.c
@@ -1542,7 +1542,6 @@ static herr_t
H5D__final_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
hsize_t mpi_buf_count, MPI_Datatype *mpi_file_type, MPI_Datatype *mpi_buf_type)
{
- hbool_t plist_is_setup = FALSE; /* Whether the dxpl has been customized */
herr_t ret_value = SUCCEED;
FUNC_ENTER_STATIC
@@ -1550,7 +1549,6 @@ H5D__final_collective_io(H5D_io_info_t *io_info, const H5D_type_info_t *type_inf
/* Pass buf type, file type to the file driver. */
if(H5FD_mpi_setup_collective(io_info->dxpl_id, mpi_buf_type, mpi_file_type) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set MPI-I/O properties")
- plist_is_setup = TRUE;
if(io_info->op_type == H5D_IO_OP_WRITE) {
if((io_info->io_ops.single_write)(io_info, type_info, mpi_buf_count, NULL, NULL) < 0)
diff --git a/src/H5FDmpi.c b/src/H5FDmpi.c
index 46e7ade..afc5536 100644
--- a/src/H5FDmpi.c
+++ b/src/H5FDmpi.c
@@ -488,3 +488,5 @@ H5FD_mpi_setup_collective(hid_t dxpl_id, MPI_Datatype *btype, MPI_Datatype *ftyp
done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_mpi_setup_collective() */
+
+#endif /* H5_HAVE_PARALLEL */