summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 989f9e0..2b970d1 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -1776,9 +1776,7 @@ H5G_loc (hid_t loc_id)
case H5I_TEMPLATE_5:
case H5I_TEMPLATE_6:
case H5I_TEMPLATE_7:
-#ifndef NDEBUG
case H5I_TEMPLATE_MAX:
-#endif
case H5I_GENPROP_CLS:
case H5I_GENPROP_LST:
HRETURN_ERROR(H5E_ARGS, H5E_BADVALUE, NULL,