summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-10-26 20:21:35 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-10-26 20:21:35 (GMT)
commit81c6472bcc9c2f2a4b3bc9cd1dc6d536ace0a4d0 (patch)
tree31084860206491ad05580c69701d0f3713844989
parent2de64cfcb16508dbb6125b9ea62a6c9a6c127561 (diff)
downloadhdf5-81c6472bcc9c2f2a4b3bc9cd1dc6d536ace0a4d0.zip
hdf5-81c6472bcc9c2f2a4b3bc9cd1dc6d536ace0a4d0.tar.gz
hdf5-81c6472bcc9c2f2a4b3bc9cd1dc6d536ace0a4d0.tar.bz2
[svn-r1795] Removed an extra return statement resulted from the previous changes.
-rw-r--r--src/H5FDmpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c
index 355b19c..e495573 100644
--- a/src/H5FDmpio.c
+++ b/src/H5FDmpio.c
@@ -344,7 +344,7 @@ H5Pset_dxpl_mpio(hid_t dxpl_id, H5FD_mpio_xfer_t xfer_mode)
if (H5P_DATA_XFER!=H5Pget_class(dxpl_id))
HRETURN_ERROR(H5E_PLIST, H5E_BADTYPE, FAIL, "not a dxpl");
if (H5FD_MPIO_INDEPENDENT!=xfer_mode &&
- H5FD_MPIO_COLLECTIVE!=xfer_mode) return -1;
+ H5FD_MPIO_COLLECTIVE!=xfer_mode)
HRETURN_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "incorrect xfer_mode");
/* Initialize driver-specific properties */