summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-12-20 16:10:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-12-20 16:10:56 (GMT)
commit9bdd63ada4f5fed4d8bc043d29afdb33187d2d5d (patch)
treec92080226a81344b5493a50e46be58a03df243a5 /src/H5G.c
parent976700c212aa65b57cc66d3be4589a5fc9fec9a4 (diff)
downloadhdf5-9bdd63ada4f5fed4d8bc043d29afdb33187d2d5d.zip
hdf5-9bdd63ada4f5fed4d8bc043d29afdb33187d2d5d.tar.gz
hdf5-9bdd63ada4f5fed4d8bc043d29afdb33187d2d5d.tar.bz2
[svn-r3162] Purpose:
Bug Fix Description: If the library was compiled with 'NDEBUG' defined, but the user's program (the fortran API in this case) was compiled with 'NDEBUG' not defined, the IDs returned from the library would appear to be incorrect. Solution: Removed 'ifndef NDEBUG' from around "H5I_TEMPLAX_MAX" definition and error checking. Platforms tested: Linux 2.2 (eirene) & FreeBSD 4.2 (hawkwind)
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,