summaryrefslogtreecommitdiffstats
path: root/src/H5Zshuffle.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-02-23 19:39:58 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-02-23 19:39:58 (GMT)
commit409760028fbec9148f47d0fb4529ed265e9fa928 (patch)
tree9e240a3ab4f38731da78cd7aa36fccfc5c2d8ae5 /src/H5Zshuffle.c
parent3426192ed86da47bec62f641aa0394b89ebbfe42 (diff)
downloadhdf5-409760028fbec9148f47d0fb4529ed265e9fa928.zip
hdf5-409760028fbec9148f47d0fb4529ed265e9fa928.tar.gz
hdf5-409760028fbec9148f47d0fb4529ed265e9fa928.tar.bz2
[svn-r8219] Purpose:
bug fix Description: the same change to the check condtion in H5Z_set_local_shuffle explained in the 1.7 branch Solution: Platforms tested: linux Misc. update:
Diffstat (limited to 'src/H5Zshuffle.c')
-rw-r--r--src/H5Zshuffle.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5Zshuffle.c b/src/H5Zshuffle.c
index 81a1b69..60dad91 100644
--- a/src/H5Zshuffle.c
+++ b/src/H5Zshuffle.c
@@ -78,10 +78,6 @@ H5Z_set_local_shuffle(hid_t dcpl_id, hid_t type_id, hid_t UNUSED space_id)
if(H5Pget_filter_by_id(dcpl_id,H5Z_FILTER_SHUFFLE,&flags,&cd_nelmts, cd_values,0,NULL)<0)
HGOTO_ERROR(H5E_PLINE, H5E_CANTGET, FAIL, "can't get shuffle parameters");
- /* Check that no parameters are currently set */
- if(cd_nelmts!=H5Z_SHUFFLE_USER_NPARMS)
- HGOTO_ERROR(H5E_PLINE, H5E_BADVALUE, FAIL, "incorrect # of shuffle parameters");
-
/* Set "local" parameter for this dataset */
if((cd_values[H5Z_SHUFFLE_PARM_SIZE]=(unsigned)H5Tget_size(type_id))==0)
HGOTO_ERROR(H5E_PLINE, H5E_BADTYPE, FAIL, "bad datatype size");