summaryrefslogtreecommitdiffstats
path: root/src/H5Gint.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-30 00:17:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-30 00:17:17 (GMT)
commit981ba55190b978b3e67223df0a7049c65c826a1a (patch)
treeb34030397f3a227d6fd2aa90b0f57b26f1cab554 /src/H5Gint.c
parent03d1221bd821c397bb4a2222e3c7b49fa93fd96e (diff)
downloadhdf5-981ba55190b978b3e67223df0a7049c65c826a1a.zip
hdf5-981ba55190b978b3e67223df0a7049c65c826a1a.tar.gz
hdf5-981ba55190b978b3e67223df0a7049c65c826a1a.tar.bz2
[svn-r17266] Description:
Clean up various compiler warnings from IRIX64 build Tested on: Mac OS X/32 (amazon) debug & production (yes, I know it's not an IRIX64 system :-) Too minor to require h5committest
Diffstat (limited to 'src/H5Gint.c')
-rw-r--r--src/H5Gint.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c
index 61598c2..0dc9c03 100644
--- a/src/H5Gint.c
+++ b/src/H5Gint.c
@@ -94,9 +94,16 @@ DESCRIPTION
static herr_t
H5G_init_int_interface(void)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5G_init_int_interface)
+ herr_t ret_value = SUCCEED; /* Return value */
- FUNC_LEAVE_NOAPI(H5G_init())
+ FUNC_ENTER_NOAPI(H5G_init_int_interface, FAIL)
+
+ /* Funnel all work to H5G_init() */
+ if(H5G_init() < 0)
+ HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "interface initialization failed")
+
+done:
+ FUNC_LEAVE_NOAPI(ret_value)
} /* H5G_init_int_interface() */