[svn-r20921] Issue 7579 - The overflowing ENUM values are inconsistent. I took out the error report for 2 H5Tclose calls in H5T_conv_enum because they would clear the error stack.

Tested on jam - simple change.
This commit is contained in:
Raymond Lu 2011-05-27 16:32:39 -05:00
parent 157623de6a
commit ca53d64e46

View File

@ -2944,11 +2944,12 @@ H5T_conv_enum(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts,
/* Close the type IDs. Have to use public function here */
if(conv_overflow) {
if(H5Tclose(src_super_id) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CLOSEERROR, FAIL, "problem closing datatype")
if(H5Tclose(dst_super_id) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CLOSEERROR, FAIL, "problem closing datatype")
/* Disable the error stack for these two public functions. Otherwise they would
* clear it */
H5E_BEGIN_TRY {
H5Tclose(src_super_id);
H5Tclose(dst_super_id);
} H5E_END_TRY;
HDfree(tmp_buf);
}