summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-06 17:47:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-06 17:47:02 (GMT)
commit2b635fee4da5b3c9e0340f0630b4e9b61616409b (patch)
tree033892e086c248546133556fc45fce2b8d27356f /src/H5.c
parent32cd8f3fcf6ef1804a2818c84ad3ed92b26c887e (diff)
downloadhdf5-2b635fee4da5b3c9e0340f0630b4e9b61616409b.zip
hdf5-2b635fee4da5b3c9e0340f0630b4e9b61616409b.tar.gz
hdf5-2b635fee4da5b3c9e0340f0630b4e9b61616409b.tar.bz2
[svn-r12866] Description:
Clean up initialization of H5F & H5L APIs. Tested on: Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/H5.c b/src/H5.c
index a354e87..2abe99a 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -167,8 +167,6 @@ H5_init_library(void)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize error interface")
if(H5P_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize property list interface")
- if(H5F_init() < 0)
- HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize file interface")
if(H5T_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize datatype interface")
if(H5D_init() < 0)
@@ -343,13 +341,13 @@ done:
herr_t
H5dont_atexit(void)
{
- herr_t ret_value=SUCCEED; /* Return value */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_NOINIT(H5dont_atexit)
H5TRACE0("e","");
- if (H5_dont_atexit_g)
- ret_value=FAIL;
+ if(H5_dont_atexit_g)
+ ret_value = FAIL;
else
H5_dont_atexit_g = TRUE;