summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2009-05-15 15:49:55 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2009-05-15 15:49:55 (GMT)
commit4a7834b7c7ed5ed9d9429a0798ed4240d97637cc (patch)
treea7c437f7a31d962bab54ed376408e7f7f2001737 /src
parent06287443e46a911fb06995855b28e35fed01e514 (diff)
downloadhdf5-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')
-rw-r--r--src/H5E.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 6eb7768..dc90a5a 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -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