diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2009-05-15 15:49:55 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2009-05-15 15:49:55 (GMT) |
commit | 4a7834b7c7ed5ed9d9429a0798ed4240d97637cc (patch) | |
tree | a7c437f7a31d962bab54ed376408e7f7f2001737 /src/H5E.c | |
parent | 06287443e46a911fb06995855b28e35fed01e514 (diff) | |
download | hdf5-4a7834b7c7ed5ed9d9429a0798ed4240d97637cc.zip hdf5-4a7834b7c7ed5ed9d9429a0798ed4240d97637cc.tar.gz hdf5-4a7834b7c7ed5ed9d9429a0798ed4240d97637cc.tar.bz2 |
[svn-r16955] Lifted the restrictions that major and minor errors must be in the same class.
Tested on jam - simple change.
Diffstat (limited to 'src/H5E.c')
-rw-r--r-- | src/H5E.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1296,14 +1296,6 @@ H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned line, HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a error stack ID") } /* end else */ - /* Check for mis-matches in major & minor error classes */ - if(NULL == (maj_ptr = (H5E_msg_t *)H5I_object_verify(maj_id, H5I_ERROR_MSG))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a error message ID") - if(NULL == (min_ptr = (H5E_msg_t *)H5I_object_verify(min_id, H5I_ERROR_MSG))) - HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a error message ID") - if(maj_ptr->cls != min_ptr->cls) - HGOTO_ERROR(H5E_ARGS, H5E_UNSUPPORTED, FAIL, "major and minor errors not from same error class") - /* Note that the variable-argument parsing for the format is identical in * the H5E_printf_stack() routine - correct errors and make changes in both * places. -QAK |