summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/H5P.c b/src/H5P.c
index c35ddf6..2808ada 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -544,9 +544,7 @@ H5Pget_class(hid_t plist_id)
H5TRACE1("p","i",plist_id);
if ((group = H5I_get_type(plist_id)) < 0 ||
-#ifndef NDEBUG
group >= H5I_TEMPLATE_MAX ||
-#endif
group < H5I_TEMPLATE_0) {
HRETURN_ERROR(H5E_ATOM, H5E_BADATOM, H5P_NO_CLASS,
"not a property list");
@@ -583,9 +581,7 @@ H5P_get_class(hid_t plist_id)
FUNC_ENTER(H5P_get_class, H5P_NO_CLASS);
if ((group = H5I_get_type(plist_id)) < 0 ||
-#ifndef NDEBUG
group >= H5I_TEMPLATE_MAX ||
-#endif
group < H5I_TEMPLATE_0) {
HRETURN_ERROR(H5E_ATOM, H5E_BADATOM, H5P_NO_CLASS,
"not a property list");