diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-09 20:48:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-09 20:48:23 (GMT) |
commit | 8f7425d2a2fb9ffb7b7b01822a7f9909ce3a4a14 (patch) | |
tree | 3978c685e4ac642e74ab97192ecace599f0b622a /src/H5I.c | |
parent | d48558126d9c19fe3b418a22086a015bd56997f9 (diff) | |
download | hdf5-8f7425d2a2fb9ffb7b7b01822a7f9909ce3a4a14.zip hdf5-8f7425d2a2fb9ffb7b7b01822a7f9909ce3a4a14.tar.gz hdf5-8f7425d2a2fb9ffb7b7b01822a7f9909ce3a4a14.tar.bz2 |
[svn-r5867] Purpose:
Code cleanup
Description:
Changed the last HRETURN* statements in the FUNC_ENTER macros into HGOTO*
macros, which reduces the size of the library binary in certain
configurations by another 10%
Platforms tested:
FreeBSD 4.6 (sleipnir) serial & parallel, IRIX64 6.5 (modi4) serial &
parallel
Diffstat (limited to 'src/H5I.c')
-rw-r--r-- | src/H5I.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -81,8 +81,6 @@ static herr_t H5I_debug(H5I_type_t grp); static herr_t H5I_init_interface(void) { - herr_t ret_value = SUCCEED; - FUNC_ENTER_NOINIT(H5I_init_interface); /* @@ -91,7 +89,7 @@ H5I_init_interface(void) */ assert(H5I_NGROUPS<=(1<<GROUP_BITS)); - FUNC_LEAVE(ret_value); + FUNC_LEAVE(SUCCEED); } @@ -635,6 +633,7 @@ H5I_object(hid_t id) ret_value = id_ptr->obj_ptr; } /* end if */ +done: FUNC_LEAVE(ret_value); } @@ -673,6 +672,7 @@ H5I_object_verify(hid_t id, H5I_type_t id_type) ret_value = id_ptr->obj_ptr; } /* end if */ +done: FUNC_LEAVE(ret_value); } /* H5I_object_verify() */ @@ -708,6 +708,7 @@ H5I_get_type(hid_t id) assert(ret_value>=H5I_BADID && ret_value<H5I_NGROUPS); +done: FUNC_LEAVE(ret_value); } |