[svn-r10396] Purpose:

Minor modification.

Description:
    Remove some redundant codes.

Solution:

Platforms tested:
    heping

Misc. update:
This commit is contained in:
Xiaowen Wu 2005-03-23 22:02:15 -05:00
parent 3a64d64ff9
commit 0e5ae5c4ba

View File

@ -1297,11 +1297,9 @@ H5Pset_scaleoffset(hid_t plist_id, unsigned min_bits)
if(NULL == (plist = H5I_object(plist_id)))
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID");
if(min_bits < 0)
HGOTO_ERROR (H5E_ARGS, H5E_BADVALUE, FAIL, "minimum number of bits can't be positive");
/* Set the parameter for the filter */
/* if min_bits is zero, the scaleoffset filter will automatically calculate min_bits */
/* Set the parameter for the filter
* if min_bits is zero, the scaleoffset filter will automatically calculate min_bits
*/
cd_values[0] = min_bits;
/* Add the scaleoffset filter */